[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120724.135646.458225356444764082.davem@davemloft.net>
Date: Tue, 24 Jul 2012 13:56:46 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next] tcp: early_demux fixes
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 24 Jul 2012 13:19:31 +0200
> From: Eric Dumazet <edumazet@...gle.com>
>
> 1) Remove a non needed pskb_may_pull() in tcp_v4_early_demux()
> and fix a potential bug if skb->head was reallocated
> (iph & th pointers were not reloaded)
>
> TCP stack will pull/check headers anyway.
>
> 2) must reload iph in ip_rcv_finish() after early_demux()
> call since skb->head might have changed.
>
> 3) skb->dev->ifindex can be now replaced by skb->skb_iif
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists