]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: act_psample: Remove unnecessary ASSERT_RTNL
authorYotam Gigi <yotamg@mellanox.com>
Tue, 31 Jan 2017 09:33:54 +0000 (11:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Feb 2017 19:10:03 +0000 (14:10 -0500)
commit566d8976032fcdbce79635b2224da9b6ef9991d2
tree1e4376749b1368e119885639c82edb152d2f2545
parent047a3d350cfcb5d3bd4370fb7d9f1960f5ea8d65
net/sched: act_psample: Remove unnecessary ASSERT_RTNL

The ASSERT_RTNL is not necessary in the init function, as it does not
touch any rtnl protected structures, as opposed to the mirred action which
does have to hold a net device.

Reported-by: Cong Wang <xiyou.wangcong@gmail.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_sample.c