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)
commit49b4947aae404c8c5758ffd1007d0d78c48b3643
tree2841487026f8215acdef95c1aaca540917c3246e
parent79ea6c8966b861f80e77a14b2acf581563f3c83e
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