Repository navigation
Commit 449a68c
security,rcu: Convert call_rcu(sel_netport_free) to kfree_rcu()
The rcu callback sel_netport_free() just calls a kfree(),
so we use kfree_rcu() instead of the call_rcu(sel_netport_free).
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: James Morris <jmorris@namei.org>
Cc: Eric Paris <eparis@parisplace.org>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>1 parent 9801c60 commit 449a68c
1 file changed
Lines changed: 2 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 70 | | |
87 | 71 | | |
88 | 72 | | |
| |||
142 | 126 | | |
143 | 127 | | |
144 | 128 | | |
145 | | - | |
| 129 | + | |
146 | 130 | | |
147 | 131 | | |
148 | 132 | | |
| |||
241 | 225 | | |
242 | 226 | | |
243 | 227 | | |
244 | | - | |
| 228 | + | |
245 | 229 | | |
246 | 230 | | |
247 | 231 | | |
| |||
0 commit comments