Files
linux/include/net
Eric Dumazet 870c315138 ipv6: introduce tcp_v6_iif()
Commit 971f10eca1 ("tcp: better TCP_SKB_CB layout to reduce cache line
misses") added a regression for SO_BINDTODEVICE on IPv6.

This is because we still use inet6_iif() which expects that IP6 control
block is still at the beginning of skb->cb[]

This patch adds tcp_v6_iif() helper and uses it where necessary.

Because __inet6_lookup_skb() is used by TCP and DCCP, we add an iif
parameter to it.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Fixes: 971f10eca1 ("tcp: better TCP_SKB_CB layout to reduce cache line misses")
Acked-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-17 23:48:07 -04:00
..
2014-07-30 19:28:41 +02:00
2014-09-18 10:54:36 +02:00
2013-12-28 17:02:46 -05:00
2014-09-26 16:14:16 -04:00
2012-07-19 10:43:03 -07:00
2013-11-07 19:28:58 -05:00
2014-09-30 01:02:26 -04:00
2014-06-04 22:46:38 -07:00
2013-01-27 22:46:33 -05:00
2014-06-27 15:53:35 -07:00
2014-09-05 17:40:33 -07:00
2014-01-03 20:56:48 -05:00
2014-09-30 14:00:48 -04:00
2014-10-16 14:52:35 -04:00
2014-08-15 13:51:40 +02:00
2014-03-24 12:45:01 -04:00
2014-06-02 11:00:41 -07:00
2014-10-17 23:48:07 -04:00
2014-05-22 14:57:15 -04:00
2014-10-01 21:35:51 -04:00
2014-07-07 21:14:21 -07:00