net: ipv6: add second dif to raw socket lookups
authorDavid Ahern <dsahern@gmail.com>
Mon, 7 Aug 2017 15:44:22 +0000 (08:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 18:39:22 +0000 (11:39 -0700)
commit5108ab4bf446fa9ad2c71f5fc1d839067b72636f
tree0eb95dbb9e503991b36468ccf4b00a010697f664
parent4297a0ef085729af98adab9131d128c576ed3044
net: ipv6: add second dif to raw socket lookups

Add a second device index, sdif, to raw 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.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/rawv6.h
net/ipv4/raw_diag.c
net/ipv6/raw.c