[PKT_SCHED]: Fix device leaks in mirred action
When a mirred action is created it takes two references to the device (dev_get_by_index + dev_hold), but only drops one when it gets destroyed. It also leaks a reference when a mirred action is replaced. Signed-off-by: Patrick McHardy <kaber@trash.ne> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment