commit | c91289510602baf9a05b3501d97dc70efa269e01 | [log] [tgz] |
---|---|---|
author | Vasundhara Volam <vasundhara.volam@emulex.com> | Mon Mar 03 14:25:07 2014 +0530 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 03 15:48:11 2014 -0500 |
tree | ca35e96ec6ad4c126085a65f517e2da2f38b44ec | |
parent | 7ad09458a5be9a0990457c1a198e702559ac25ca [diff] |
be2net: Fix skb double free in be_xmit_wrokarounds() failure path skb_padto(), skb_share_check() and __vlan_put_tag() routines free skb when they return an error. This patch fixes be_xmit_workarounds() to not free skb again in such cases. Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com> Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>