diff options
author | Eric Dumazet <edumazet@google.com> | 2012-07-24 01:19:31 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-24 13:54:15 -0700 |
commit | 9cb429d692b341e972b12e6cd097364050ebbb26 (patch) | |
tree | 39450b1d5650322fc6cffca581f34edbc06233ee /net/dsa/dsa.c | |
parent | c20cd5d753a452807b080bbf390e2f844d7991b3 (diff) |
tcp: early_demux fixes
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@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions