Files
Linux/include/net
Martin KaFai Lau 99f3a064bc bpf: net: Add SO_DETACH_REUSEPORT_BPF
There is SO_ATTACH_REUSEPORT_[CE]BPF but there is no DETACH.
This patch adds SO_DETACH_REUSEPORT_BPF sockopt.  The same
sockopt can be used to undo both SO_ATTACH_REUSEPORT_[CE]BPF.

reseport_detach_prog() is added and it is mostly a mirror
of the existing reuseport_attach_prog().  The differences are,
it does not call reuseport_alloc() and returns -ENOENT when
there is no old prog.

Cc: Craig Gallek <[email protected]>
Signed-off-by: Martin KaFai Lau <[email protected]>
Reviewed-by: Stanislav Fomichev <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
2019-06-15 01:21:19 +02:00
..
…
…
…
2019-05-28 21:37:30 -07:00
2019-02-21 16:23:56 -08:00
…
…
…
…
…
…
…
2019-04-19 14:07:40 -07:00
…
…
…
…
…
…
2019-03-21 13:39:25 -07:00
…
…
…
…
…
…
…
…
…
…
2019-02-25 14:32:35 -08:00
…
2019-05-22 17:48:44 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-05-28 21:37:30 -07:00
…
…
…
…
…
…
…
…
…
…
2019-04-22 21:47:25 -07:00
…
…
…
…
2019-05-15 09:22:41 -07:00
…
…
2019-05-30 13:41:26 -07:00
…
…
…
…
…
…
…