]> git.baikalelectronics.ru Git - kernel.git/commit
bna: fix memory leak during RX path cleanup
authorRasesh Mody <rmody@brocade.com>
Thu, 14 Apr 2011 08:05:19 +0000 (08:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Apr 2011 20:39:45 +0000 (13:39 -0700)
commit67fed79bd60a4e1a6dd4bd3c2972d18d58a768e4
tree2841487026f8215acdef95c1aaca540917c3246e
parentbf3ccba5db3fc3b07978b22b584c01d60a2f9ca1
bna: fix memory leak during RX path cleanup

The memory leak was caused by unintentional assignment of the Rx path
destroy callback function pointer to NULL just after correct
initialization.

Signed-off-by: Debashis Dutt <ddutt@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bna/bnad.c