commit | 49b4994c14010b851351f20f33d8660311aaa86e | [log] [tgz] |
---|---|---|
author | David Herrmann <dh.herrmann@gmail.com> | Tue Jan 15 14:42:16 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 17 14:55:52 2019 -0800 |
tree | cf11a435c75fc4358527d40daf747e2e363db5ba | |
parent | 2eadee72dbb8de37585a1ee63823c8495454ffa4 [diff] |
net/ipv6/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>