]> 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)
commitd7f739db9f33a94fe0b34ad4e081bcd4e22d98ac
treea240a4f64cd3a11322397809604b008227c8d184
parent9b8c7f3888f54ae0099d770f2aeac46dc2d0138c
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