diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2019-01-15 14:42:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-17 14:55:52 -0800 |
commit | 49b4994c14010b851351f20f33d8660311aaa86e (patch) | |
tree | cf11a435c75fc4358527d40daf747e2e363db5ba /net/bpf | |
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>
Diffstat (limited to 'net/bpf')
0 files changed, 0 insertions, 0 deletions