diff options
author | David Ahern <dsahern@gmail.com> | 2018-02-16 11:03:03 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-31 18:11:34 +0200 |
commit | 5f02dcec3653abb204cb23e25132f49eb314c84f (patch) | |
tree | 299c323161c2f2d08776fd59166293e8b13fe481 /drivers/fpga/fpga-mgr.c | |
parent | 455fc99cb4e8222c40cf9ae97f4e5845bdcac17c (diff) |
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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions