diff options
author | David Ahern <dsahern@gmail.com> | 2018-02-16 22:03:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-08 12:49:43 +0300 |
commit | 4544f23db6149301fbd6596d2e670f471fbc4f78 (patch) | |
tree | dedd3b26575bdaae8e98ef8f2939392e56ed66ff /net/core | |
parent | b22ad56cce33e45dbfa19b41c4d7368a5bf34bde (diff) | |
download | linux-4544f23db6149301fbd6596d2e670f471fbc4f78.tar.xz |
net: Only honor ifindex in IP_PKTINFO if non-0
[ Upstream commit 2cbb4ea7de167b02ffa63e9cdfdb07a7e7094615 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions