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)
commit959b71db53e310bc63be22bfa3401aef30c6035d
treea240a4f64cd3a11322397809604b008227c8d184
parentd849f9f9768cf9ba6d68a395c67065522625b27c
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