Age | Commit message (Expand) | Author | Files | Lines | Author | Files | Lines |
---|---|---|---|---|---|
2017-02-01 | net/sched: act_psample: Remove unnecessary ASSERT_RTNL | Yotam Gigi | 1 | -1/+0 | |
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> | |||||
2017-02-01 | net/sched: act_sample: Fix error path in init | Yotam Gigi | 1 | -1/+4 | |
Fix error path of in sample init, by releasing the tc hash in case of failure in psample_group creation. Fixes: 5c5670fae430 ("net/sched: Introduce sample tc action") 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> |