diff options
author | David Ahern <dsahern@gmail.com> | 2018-02-16 11:03:03 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-16 16:42:17 -0500 |
commit | 1cbec07649ec8c267cdfb486ab4ee73949974ca4 (patch) | |
tree | 40486285e2433d9ceb26485f1351d19d099bd997 /drivers/net/tun.c | |
parent | b2d12101bff95c27960c69f3e54a98afdc205bb3 (diff) | |
download | op-kernel-dev-1cbec07649ec8c267cdfb486ab4ee73949974ca4.zip op-kernel-dev-1cbec07649ec8c267cdfb486ab4ee73949974ca4.tar.gz |
net: Only honor ifindex in IP_PKTINFO if non-0
Only allow ifindex from IP_PKTINFO to override SO_BINDTODEVICE settings
if the index is actually set in the message.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions