]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: COW before overwriting the destination MAC address
authorChangli Gao <xiaosuo@gmail.com>
Wed, 2 Mar 2011 21:07:14 +0000 (21:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Mar 2011 23:45:08 +0000 (15:45 -0800)
commit8700973bf48c91e4c14aeed9be2e0d1d89a1170a
treebb1e2377bf33ecee73518b0c517980f5a33b8405
parent1118e608a9f06cb88f1c810ecd5a153c68313121
bonding: COW before overwriting the destination MAC address

When there is a ptype handler holding a clone of this skb, whose
destination MAC addresse is overwritten, the owner of this handler may
get a corrupted packet.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c