commit | 30128031d71741ef7d0e32c345e3bf02aa8a0704 | [log] [tgz] |
---|---|---|
author | Sathya Perla <sathya.perla@emulex.com> | Thu Nov 10 19:17:57 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Nov 12 17:59:35 2011 -0500 |
tree | 1ca0ba5c5c34c252c8bcfc8d53c82b19fa2e7d4c | |
parent | d826eb14ecef3574b6b3be55e5f4329f4a76fbf3 [diff] |
be2net: init (vf)_if_handle/vf_pmac_id to handle failure scenarios Initialize if_handle, vf_if_handle and vf_pmac_id with "-1" so that in failure cases when be_clear() is called, we can skip over if_destroy/pmac_del cmds if they have not been created. Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>