commit | 0450243096de90ff51c3a6c605410c5e28d79f8d | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Jun 13 05:30:07 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 13 16:00:26 2012 -0700 |
tree | 8772dad022f5f6ae922a68b5b398dec561d1a1c0 | |
parent | 7a282bc37f8a1e7b46907d78724177d20214b137 [diff] |
bonding: drop_monitor aware When packets are dropped in TX path, its better to use kfree_skb() instead of dev_kfree_skb() to give proper drop_monitor events. Also move the kfree_skb() call after read_unlock() in bond_alb_xmit() and bond_xmit_activebackup() Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>