Viet Hoang Tran
725721a650
bpf: allow clearing all sock_ops callback flags
...
The helper function bpf_sock_ops_cb_flags_set() can be used to both
set and clear the sock_ops callback flags. However, its current
behavior is not consistent. BPF program may clear a flag if more than
one were set, or replace a flag with another one, but cannot clear all
flags.
This patch also updates the documentation to clarify the ability to
clear flags of this helper function.
Signed-off-by: Hoang Tran <hoang.tran@uclouvain.be >
Acked-by: Martin KaFai Lau <kafai@fb.com >
Signed-off-by: Alexei Starovoitov <ast@kernel.org >
2019-04-16 19:24:20 -07:00
..
2019-01-22 09:51:19 +01:00
2019-03-13 11:50:04 +01:00
2017-11-21 15:57:07 -08:00
2019-04-04 17:18:34 -07:00
2019-03-15 11:25:48 -07:00
2019-04-08 15:22:40 -07:00
2019-01-23 11:18:00 -08:00
2019-04-05 14:14:19 -07:00
2019-02-26 10:08:26 +01:00
2019-04-12 00:53:00 +02:00
2019-02-23 13:34:40 -08:00
2019-04-07 19:12:12 -07:00
2019-04-10 12:20:46 -07:00
2019-01-22 11:33:46 +01:00
2019-03-25 22:28:07 +01:00
2019-04-16 19:24:20 -07:00
2018-07-27 13:17:50 -07:00
2019-04-01 18:15:10 -07:00
2019-04-01 18:10:51 -07:00
2019-04-11 14:01:08 -07:00
2019-04-05 14:14:19 -07:00
2019-02-22 12:55:31 -08:00
2019-04-06 18:32:21 -07:00
2019-03-22 10:38:23 -04:00
2018-04-22 21:12:00 -04:00
2019-04-11 00:08:51 -07:00
2019-04-11 14:24:07 -07:00
2018-11-10 16:55:11 -08:00
2019-04-01 14:59:20 -07:00
2019-02-12 10:36:42 +01:00
2019-03-22 10:38:23 -04:00
2018-12-03 14:15:26 -08:00
2017-11-21 16:35:54 -08:00
2018-10-22 19:59:20 -07:00
2019-03-20 11:18:55 -07:00
2018-09-28 12:46:07 +08:00
2019-04-08 15:22:40 -07:00
2019-03-22 10:38:23 -04:00
2019-04-07 19:12:12 -07:00
2019-03-22 10:38:23 -04:00
2019-03-27 17:37:58 -07:00
2019-01-27 10:38:04 -08:00
2019-04-08 23:39:36 -07:00
2018-07-12 16:55:29 -07:00
2019-04-05 14:14:19 -07:00
2019-03-27 17:37:58 -07:00
2019-02-21 16:23:56 -08:00
2017-11-01 12:19:03 +09:00
2019-03-05 21:07:14 -08:00
2019-03-28 17:17:18 -07:00
2018-12-18 13:13:56 +01:00
2019-03-18 16:53:22 -07:00
2019-04-03 21:37:58 -07:00
2019-04-11 21:32:27 -07:00
2019-04-11 21:33:31 -07:00
2019-04-12 10:50:56 -07:00
2019-04-10 14:12:45 -07:00
2019-03-26 13:04:32 -07:00
2019-03-01 21:35:19 -08:00
2019-04-11 13:42:35 -07:00
2019-04-05 14:14:19 -07:00
2019-04-08 09:51:54 -07:00
2019-03-08 15:15:44 -08:00
2019-03-22 10:38:23 -04:00
2019-03-22 10:38:23 -04:00
2019-03-11 15:40:14 -07:00
2019-03-16 01:27:51 +01:00
2019-03-20 11:18:54 -07:00
2019-03-05 14:08:26 -08:00
2019-03-24 14:55:31 -04:00
2019-02-28 08:24:23 -07:00
2019-03-15 15:29:47 -07:00
2018-03-27 13:18:09 -04:00