commit | 31efcc250a1dea96edca6595a9639d898cf99ae5 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Sat May 20 15:01:31 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue May 23 11:00:06 2017 -0400 |
tree | a01dfd6bacdf9d2c395bbd1f7dfc63c191ede3d2 | |
parent | 218b6a5b23e939caf2064549b1cb61ba22b9d0a1 [diff] |
net/sched: properly assign RCU pointer in tcf_chain_tp_insert/remove *p_filter_chain is rcu-dereferenced on reader path. So here in writer, property assign the pointer. Fixes: 2190d1d0944f ("net: sched: introduce helpers to work with filter chains") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>