Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datapath: Initialize tunnel_key pad member.
When a packet is received on a tunnel the pad member is currently left uninitialized. This didn't previously cause problems because userspace didn't interprete the IPV4_TUNNEL attribute and blindly copied back the uninitialized data. However, now that userspace knows how to serialize this attribute it was zeroing it out, which prevented flows that had been previously installed from being deleted. In addition to zeroing out the padding on packet reception, it also does the same thing on flow setup since we should be ignoring the value. Reported-by: Anand Krishnamurthy <[email protected]> Reported-by: Saul St. John <[email protected]> Signed-off-by: Jesse Gross <[email protected]> Acked-by: Ben Pfaff <[email protected]>
- Loading branch information