]> git.baikalelectronics.ru Git - kernel.git/commit
flow_dissector: Check for IP fragmentation even if not using IPv4 address
authorAlexander Duyck <aduyck@mirantis.com>
Wed, 24 Feb 2016 17:29:38 +0000 (09:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Feb 2016 18:58:04 +0000 (13:58 -0500)
commit4d6fe93bdd2abe594e2f88bf691751e77c6c28e1
tree0ec1ec882dc6c60aa282a917f30c6aeda2ff8957
parentade4378add3d0a463714f0aa85c9b4e282af24be
flow_dissector: Check for IP fragmentation even if not using IPv4 address

This patch corrects the logic for the IPv4 parsing so that it is consistent
with how we handle IPv6.  Specifically if we do not have the flow key
indicating we want the addresses we still may need to take a look at the IP
fragmentation bits and to see if we should stop after we have recognized
the L3 header.

Fixes: 209bcdd3c05b ("flow_dissector: Add control/reporting of fragmentation")
Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Acked-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow_dissector.c