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 <kraig@google.com >
Signed-off-by: Martin KaFai Lau <kafai@fb.com >
Reviewed-by: Stanislav Fomichev <sdf@google.com >
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net >
2019-06-15 01:21:19 +02:00
..
2019-05-05 19:29:04 +02:00
2019-05-31 10:49:43 -07:00
2019-05-28 21:37:30 -07:00
2019-05-21 11:28:45 +02:00
2019-02-21 16:23:56 -08:00
2019-05-31 10:49:43 -07:00
2019-05-29 21:43:54 -07:00
2019-03-21 13:26:42 -07:00
2019-03-29 10:53:45 -07:00
2019-05-16 16:25:20 +01:00
2019-02-28 08:24:23 -07:00
2019-05-05 11:25:49 -07:00
2019-01-23 11:18:00 -08:00
2019-05-24 17:37:53 +02:00
2019-05-21 11:28:40 +02:00
2019-04-27 09:07:04 -07:00
2019-05-21 11:28:45 +02:00
2019-04-26 16:05:52 -04:00
2019-01-03 18:57:57 -08:00
2019-05-21 11:28:45 +02:00
2019-04-19 14:07:40 -07:00
2019-05-23 09:18:43 -07:00
2019-05-21 11:52:39 +02:00
2019-05-21 11:52:39 +02:00
2019-05-29 21:48:53 -07:00
2019-03-21 13:39:25 -07:00
2019-04-22 21:50:53 -07:00
2019-05-22 17:50:24 -07:00
2019-04-23 18:36:33 +02:00
2019-05-16 12:02:42 -07:00
2019-02-27 12:50:17 -08:00
2019-04-26 13:02:11 +02:00
2018-11-17 21:37:29 -08:00
2019-04-27 17:07:22 -04:00
2019-03-22 12:09:31 -07:00
2018-12-10 15:53:04 -08:00
2019-02-25 14:32:35 -08:00
2019-02-22 12:56:24 -08:00
2018-11-02 23:54:56 -07:00
2019-04-22 21:50:53 -07:00
2018-11-07 16:12:38 -08:00
2018-12-15 13:23:02 -08:00
2019-01-27 13:29:43 -08:00
2018-10-17 17:45:07 -07:00
2019-05-28 17:22:15 -07:00
2018-12-24 15:27:56 -08:00
2018-11-07 16:12:38 -08:00
2019-02-08 21:50:15 -08:00
2019-05-24 13:26:44 -07:00
2019-05-24 13:26:44 -07:00
2018-11-08 17:13:08 -08:00
2019-05-22 17:48:44 -07:00
2019-02-27 12:50:17 -08:00
2019-04-08 22:57:59 +02:00
2019-05-30 14:18:17 -07:00
2019-05-05 10:40:24 -07:00
2019-05-22 17:48:43 -07:00
2019-05-30 14:18:17 -07:00
2019-01-30 22:13:34 -08:00
2019-04-23 19:42:29 -07:00
2019-04-26 16:05:52 -04:00
2019-05-21 11:28:45 +02:00
2019-04-08 15:22:40 -07:00
2019-04-17 23:19:07 -07:00
2019-05-28 21:37:30 -07:00
2019-05-21 11:28:45 +02:00
2019-05-04 01:27:11 -04:00
2019-04-11 13:59:49 -07:00
2019-05-28 21:37:30 -07:00
2019-05-07 12:23:40 -07:00
2018-11-08 17:13:08 -08:00
2019-04-22 21:50:53 -07:00
2018-11-07 16:12:39 -08:00
2019-03-19 14:13:01 -07:00
2019-04-08 15:22:41 -07:00
2018-11-06 15:00:45 -08:00
2019-04-22 21:47:25 -07:00
2019-04-23 18:36:33 +02:00
2018-12-20 16:56:04 -08:00
2019-02-21 10:34:37 -08:00
2019-06-15 01:21:19 +02:00
2019-05-15 09:22:41 -07:00
2019-03-01 21:35:19 -08:00
2019-05-30 13:41:26 -07:00
2019-04-27 16:52:21 -04:00
2019-03-29 10:53:45 -07:00
2019-05-30 11:10:39 -07:00
2019-03-22 12:09:31 -07:00
2019-06-10 23:31:26 -07:00
2019-05-07 22:03:58 -07:00