diff options
author | David Ahern <dsahern@gmail.com> | 2017-08-07 08:44:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 11:39:22 -0700 |
commit | 4297a0ef085729af98adab9131d128c576ed3044 (patch) | |
tree | 4514e23109aff1005bb066d732a64f340b3f6617 /net/kcm/kcmproc.c | |
parent | 1801b570dd2ae50b90231f283e79a9a94fbe7875 (diff) |
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 'net/kcm/kcmproc.c')
0 files changed, 0 insertions, 0 deletions