eth: Pull header from first fragment via eth_get_headlen
authorAlexander Duyck <aduyck@mirantis.com>
Wed, 24 Feb 2016 17:30:04 +0000 (09:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Feb 2016 18:58:05 +0000 (13:58 -0500)
commitd975ddd69698d068a8ebd294c382f1c791b380da
tree8a7bf4cb92f8e275906a760556247c94a515a62e
parentb3c3106ce3f4646a008cd238b16f899ae14fd2a7
eth: Pull header from first fragment via eth_get_headlen

We want to try and pull the L4 header in if it is available in the first
fragment.  As such add the flag to indicate we want to pull the headers on
the first fragment in.

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/ethernet/eth.c