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)
commit505fbcf035c245a1a42cd80184feecf61ee868dc
tree6931cf7a377b79e2bbb227f32f2f0856fe4d87a2
parentb1beb681cba5358f62e6187340660ade226a5fcc
ipv4: fix TCP early demux

commit 92101b3b2e317 (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