diff options
author | Justin Pettit <jpettit@ovn.org> | 2019-08-27 07:58:10 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-28 14:53:51 -0700 |
commit | 0754b4e8cdf3eec6e4122e79af26ed9bab20f8f8 (patch) | |
tree | 3965342f844435be218655275378b02851a8ff6c /lib/stmp_device.c | |
parent | ad06a566e118e57b852cab5933dbbbaebb141de3 (diff) |
openvswitch: Clear the L4 portion of the key for "later" fragments.
Only the first fragment in a datagram contains the L4 headers. When the
Open vSwitch module parses a packet, it always sets the IP protocol
field in the key, but can only set the L4 fields on the first fragment.
The original behavior would not clear the L4 portion of the key, so
garbage values would be sent in the key for "later" fragments. This
patch clears the L4 fields in that circumstance to prevent sending those
garbage values as part of the upcall.
Signed-off-by: Justin Pettit <jpettit@ovn.org>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/stmp_device.c')
0 files changed, 0 insertions, 0 deletions