summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorYi-Hung Wei <yihung.wei@gmail.com>2019-01-03 09:51:57 -0800
committerDavid S. Miller <davem@davemloft.net>2019-01-04 13:00:02 -0800
commit41e4e2cd75346667b0c531c07dab05cce5b06d15 (patch)
treefafd45ea370c481ea2d5e00a8cb2224b8bd89d96 /net/socket.c
parentba3e1847d6471f30241f11069d8f153ed8cb052b (diff)
downloadlinux-stable-41e4e2cd75346667b0c531c07dab05cce5b06d15.tar.gz
linux-stable-41e4e2cd75346667b0c531c07dab05cce5b06d15.tar.bz2
linux-stable-41e4e2cd75346667b0c531c07dab05cce5b06d15.zip
openvswitch: Fix IPv6 later frags parsing
The previous commit fa642f08839b ("openvswitch: Derive IP protocol number for IPv6 later frags") introduces IP protocol number parsing for IPv6 later frags that can mess up the network header length calculation logic, i.e. nh_len < 0. However, the network header length calculation is mainly for deriving the transport layer header in the key extraction process which the later fragment does not apply. Therefore, this commit skips the network header length calculation to fix the issue. Reported-by: Chris Mi <chrism@mellanox.com> Reported-by: Greg Rose <gvrose8192@gmail.com> Fixes: fa642f08839b ("openvswitch: Derive IP protocol number for IPv6 later frags") Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions