be2net: reset queue address after freeing
authorSathya Perla <sathya.perla@emulex.com>
Thu, 23 Feb 2012 18:50:15 +0000 (18:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Feb 2012 06:50:16 +0000 (01:50 -0500)
commit1cfafab965198bc0d9cb794af5065d0797969727
tree6be5c6d4ce33b8dabf74d4ff892e19a5f985f476
parent0ae57bb3df562e57ac89ad7bc524b6f2e83235f9
be2net: reset queue address after freeing

This will prevent double free in some cases where be_clear() is called
for cleanup when be_setup() fails half-way.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c