David Ahern 474aa51497 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>
2018-03-31 18:10:41 +02:00
..
2017-10-21 01:33:19 +01:00
2017-09-28 09:39:34 -07:00
2017-10-12 22:57:11 -07:00
2017-10-21 01:33:19 +01:00
2018-03-08 22:41:17 -08:00