tmp_suning_uos_patched/include/net/tc_act
stephen hemminger 3b87956ea6 net sched: fix race in mirred device removal
This fixes hang when target device of mirred packet classifier
action is removed.

If a mirror or redirection action is configured to cause packets
to go to another device, the classifier holds a ref count, but was assuming
the adminstrator cleaned up all redirections before removing. The fix
is to add a notifier and cleanup during unregister.

The new list is implicitly protected by RTNL mutex because
it is held during filter add/delete as well as notifier.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-07-24 21:04:20 -07:00
..
tc_defact.h
tc_gact.h
tc_ipt.h
tc_mirred.h net sched: fix race in mirred device removal 2010-07-24 21:04:20 -07:00
tc_nat.h [PKT_SCHED]: Add stateless NAT 2007-10-10 16:53:11 -07:00
tc_pedit.h
tc_skbedit.h pkt_sched: skbedit add support for setting mark 2009-10-22 21:56:42 -07:00