[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1343127936.2626.11054.camel@edumazet-glaptop>
Date: Tue, 24 Jul 2012 13:05:36 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] tcp: tcp_v4_early_demux() fixes
On Tue, 2012-07-24 at 12:42 +0200, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> 1) Remove a non needed pskb_may_pull() and fix a potential bug
> if skb->head was reallocated (iph & th pointers were not reloaded)
>
> TCP stack will pull/check headers anyway.
>
> 2) skb->dev->ifindex can be now replaced by skb->skb_iif
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> net/ipv4/tcp_ipv4.c | 9 ++-------
> 1 file changed, 2 insertions(+), 7 deletions(-)
I'll send a v2, a fix is also needed in ip_rcv_finish()
--
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