Re: [PATCH] net: Fix resetting network_header in neigh_resolve_output and neigh_connected_output

2016-07-01 Thread David Miller
From: Abdelrhman Ahmed Date: Mon, 27 Jun 2016 16:28:59 +0200 > @@ -1293,15 +1293,19 @@ int neigh_resolve_output(struct neighbour *neigh, > struct sk_buff *skb) > int rc = 0; > > if (!neigh_event_send(neigh, skb)) { > - int err; > + int

Re: [PATCH] net: Fix resetting network_header in neigh_resolve_output and neigh_connected_output

2016-06-27 Thread Abdelrhman Ahmed
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

Re: [PATCH] net: Fix resetting network_header in neigh_resolve_output and neigh_connected_output

2016-06-27 Thread David Miller
From: Abdelrhman Ahmed 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

[PATCH] net: Fix resetting network_header in neigh_resolve_output and neigh_connected_output

2016-06-23 Thread Abdelrhman Ahmed
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