]> git.baikalelectronics.ru Git - kernel.git/commit
xsk: remove rebind support
authorBjörn Töpel <bjorn.topel@intel.com>
Tue, 22 May 2018 07:34:56 +0000 (09:34 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 22 May 2018 08:25:05 +0000 (10:25 +0200)
commitab606160e8175efce4e256462e39e23e2461469e
treea240a4f64cd3a11322397809604b008227c8d184
parentf9996c691b43d94f565ab899973601777b2ade84
xsk: remove rebind support

Supporting rebind, i.e. after a successful bind the process can call
bind again without closing the socket, makes the AF_XDP setup state
machine more complex. Constrain the state space, by not supporting
rebind.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
net/xdp/xsk.c