summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6_udp_tunnel.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2019-01-15 14:42:15 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-17 14:55:52 -0800
commit2eadee72dbb8de37585a1ee63823c8495454ffa4 (patch)
tree0684471890b3c11f637d78603dfd9a13880fabb4 /net/ipv6/ip6_udp_tunnel.c
parentf5dd3d0c9638a9d9a02b5964c4ad636f06cf7e2c (diff)
net/ipv4/udp_tunnel: prefer SO_BINDTOIFINDEX over SO_BINDTODEVICE
The udp-tunnel setup allows binding sockets to a network device. Prefer the new SO_BINDTOIFINDEX to avoid temporarily resolving the device-name just to look it up in the ioctl again. Reviewed-by: Tom Gundersen <teg@jklm.no> Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_udp_tunnel.c')
0 files changed, 0 insertions, 0 deletions