Re: [PATCH] net: Fix resetting network_header in neigh_resolve_output and neigh_connected_output
From: David Miller
Date: Mon Jun 27 2016 - 10:11:07 EST
From: Abdelrhman Ahmed <ab@xxxxxxxxxxx>
Date: Thu, 23 Jun 2016 13:39:24 +0200
> neigh_resolve_output and neigh_connected_output resets the skb to network_header because of the retry loop and this reset will pull down the data pointer to the network header in the first iteration then hardware header will be added, but it will overwrite any data which is inserted between network header and hardware header (for example by netfilter hooks) only for the first packet(s) before using cached hardware header as neigh_hh_output (which is called for using cached hardware header) does not reset to the network header.
Please format your text properly into ~80 character long lines.