Cong Wang
aae2c35ec8
cls_bpf: use tcf_exts_get_net() before call_rcu()
...
Hold netns refcnt before call_rcu() and release it after
the tcf_exts_destroy() is done.
Note, on ->destroy() path we have to respect the return value
of tcf_exts_get_net(), on other paths it should always return
true, so we don't need to care.
Cc: Lucas Bates <lucasb@mojatatu.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-09 10:03:09 +09:00
..
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2016-03-01 17:15:23 -05:00
2016-03-01 17:15:23 -05:00
2016-09-19 21:55:28 -04:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-11-09 10:03:09 +09:00
2017-10-29 22:49:30 +09:00
2017-10-29 22:49:31 +09:00
2017-10-29 22:49:31 +09:00
2017-10-29 22:49:31 +09:00
2017-10-29 22:49:31 +09:00
2017-10-29 22:49:31 +09:00
2007-07-10 22:16:41 -07:00
2007-07-10 22:16:41 -07:00
2017-10-29 22:49:31 +09:00
2017-10-29 22:49:31 +09:00
2017-10-29 22:49:31 +09:00
2014-10-06 18:02:32 -04:00
2011-01-19 23:31:12 -08:00
2016-11-03 10:56:21 +01:00
2017-07-01 07:39:08 -07:00
2014-10-06 18:02:32 -04:00
2015-02-22 15:59:54 -05:00
2011-01-19 23:31:12 -08:00
2017-04-13 13:58:22 -04:00
2017-06-05 10:56:36 -04:00
2017-11-02 11:10:55 +01:00
2017-10-29 17:55:03 +09:00
2017-08-25 17:19:10 -07:00
2016-06-25 12:19:35 -04:00
2017-09-01 17:42:05 -07:00
2017-05-08 17:15:13 -07:00
2017-04-13 13:58:22 -04:00
2017-08-25 17:19:10 -07:00
2017-08-25 17:19:10 -07:00
2016-09-19 01:47:18 -04:00
2017-09-01 17:42:05 -07:00
2017-07-12 16:26:03 -07:00
2017-09-21 11:56:32 -07:00
2017-04-13 13:58:22 -04:00
2017-09-21 11:56:32 -07:00
2017-08-30 15:26:11 -07:00
2017-09-01 17:42:05 -07:00
2017-08-25 17:19:10 -07:00
2017-08-25 17:19:10 -07:00
2017-08-25 17:19:10 -07:00
2017-09-01 17:42:05 -07:00
2017-09-01 17:42:05 -07:00
2017-04-13 13:58:22 -04:00
2016-06-25 12:19:35 -04:00
2017-09-06 21:20:07 -07:00
2017-09-06 21:20:07 -07:00
2017-08-25 17:19:10 -07:00
2017-08-25 17:19:10 -07:00
2017-09-01 17:42:05 -07:00
2017-09-01 17:42:05 -07:00
2017-01-08 17:51:44 -05:00