diff options
author | David Ahern <dsahern@gmail.com> | 2017-08-07 18:44:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 21:39:22 +0300 |
commit | 4297a0ef085729af98adab9131d128c576ed3044 (patch) | |
tree | 4514e23109aff1005bb066d732a64f340b3f6617 /fs/stack.c | |
parent | 1801b570dd2ae50b90231f283e79a9a94fbe7875 (diff) | |
download | linux-4297a0ef085729af98adab9131d128c576ed3044.tar.xz |
net: ipv6: add second dif to inet6 socket lookups
Add a second device index, sdif, to inet6 socket lookups. sdif is the
index for ingress devices enslaved to an l3mdev. It allows the lookups
to consider the enslaved device as well as the L3 domain when searching
for a socket.
TCP moves the data in the cb. Prior to tcp_v4_rcv (e.g., early demux) the
ingress index is obtained from IPCB using inet_sdif and after tcp_v4_rcv
tcp_v4_sdif is used.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions