]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip-link: add support for nolocalbypass in vxlan
authorVladimir Nikishkin <vladimir@nikishkin.pw>
Tue, 6 Jun 2023 02:32:02 +0000 (10:32 +0800)
committerDavid Ahern <dsahern@kernel.org>
Tue, 6 Jun 2023 14:30:55 +0000 (08:30 -0600)
commit98b0b0cb67ffbef9d6aa1696e117f98139ca27df
tree9d0551bfad5f32c6b1332c3f9f206416b0e0ad4a
parenta120abc7f65bb238743132ea46708a5ac6d9ae00
ip-link: add support for nolocalbypass in vxlan

Add userspace support for the [no]localbypass vxlan netlink
attribute. With localbypass on (default), the vxlan driver processes
the packets destined to the local machine by itself, bypassing the
userspace nework stack. With nolocalbypass the packets are always
forwarded to the userspace network stack, so userspace programs,
such as tcpdump have a chance to process them.

Signed-off-by: Vladimir Nikishkin <vladimir@nikishkin.pw>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Andrea Claudi <aclaudi@redhat.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/iplink_vxlan.c
man/man8/ip-link.8.in