be2net: convert to new udp_tunnel_nic infra
Jakub Kicinski authored

Convert be2net to new udp_tunnel_nic infra. NIC only takes one VxLAN
port. Remove the port tracking using a list. The warning in
be_work_del_vxlan_port() looked suspicious - like the driver expected
ports to be removed in order of addition.

be2net unregisters ports when going down and re-registers them (for
skyhawk) when coming up, but it never checks if the device is up
in the add_port / del_port callbacks. Make it use
UDP_TUNNEL_NIC_INFO_OPEN_ONLY. Sadly this driver calls its own
open/close functions directly so the udp_tunnel_nic_reset_ntf()
workaround is needed.
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
8f0545d2
Name Last commit Last update
Documentation Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
LICENSES LICENSES: Rename other to deprecated
arch Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
block Merge tag 'block-5.8-2020-07-10' of git://git.kernel.dk/linux-block
certs .gitignore: add SPDX License Identifier
crypto crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock()
drivers be2net: convert to new udp_tunnel_nic infra
fs Merge branch 'usermode-driver-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace into bpf-next
include Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
init kbuild: fix CONFIG_CC_CAN_LINK(_STATIC) for cross-compilation with Clang
ipc mmap locking API: use coccinelle to convert mmap_sem rwsem call sites
kernel Merge branch 'usermode-driver-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace into bpf-next
lib Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
mm Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
samples Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
scripts Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
security integrity/ima: switch to using __kernel_read
sound Merge tag 'sound-5.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
tools Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
usr bpfilter: match bit size of bpfilter_umh to that of the kernel
virt kvm: use more precise cast and do not drop __user
.clang-format block: add bio_for_each_bvec_all()
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.