qlcnic: Avoid double free of skb in tx path
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Fri, 3 Jun 2011 05:52:18 +0000 (05:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jun 2011 21:18:19 +0000 (14:18 -0700)
commit5b446c6a7179513edcb34706088c4ce901b9a039
tree054aa4223fa8b005c491627e11a62ce59cfbc246
parent54ff502c283b6cf77c95c05c99dbca40d910b17d
qlcnic: Avoid double free of skb in tx path

buffer->skb should be marked NULL to avoid double free of the skb.

Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_main.c