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)
commit918c023f29ab2dd8c63cfcc6a1239ee15933871a
tree0ec1ec882dc6c60aa282a917f30c6aeda2ff8957
parentf993604dc69a836c3d263a15425c7dce5cf62f75
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: 807e165dc44f ("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
This page took 0.025747 seconds and 5 git commands to generate.