]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: fix TCP early demux
authorEric Dumazet <edumazet@google.com>
Fri, 27 Jul 2012 06:23:40 +0000 (06:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jul 2012 20:45:51 +0000 (13:45 -0700)
commita6ab41144da0af53602a0d6c1963ebef726cca08
tree6931cf7a377b79e2bbb227f32f2f0856fe4d87a2
parent0651a97a277ff57abf041296fee3bc5b756f747c
ipv4: fix TCP early demux

commit 2bbd1a2d821a2 (ipv4: Prepare for change of rt->rt_iif encoding.)
invalidated TCP early demux, because rx_dst_ifindex is not properly
initialized and checked.

Also remove the use of inet_iif(skb) in favor or skb->skb_iif

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c