enic: Fix address deregistration for sriov vf during port profile disassociate
authorRoopa Prabhu <roprabhu@cisco.com>
Sat, 11 Feb 2012 21:37:37 +0000 (21:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Feb 2012 05:47:41 +0000 (00:47 -0500)
commit9f1de88ddd5eac43c14ed20835b4c738be61e162
treefb7b6ea947fc05ddfc5135e1108003359b3694fa
parentee556fe5fcc1c4f67fc854865f3108cf17714128
enic: Fix address deregistration for sriov vf during port profile disassociate

This patch fixes erroneous PF address deregistration in cases where
a port profile disassociate is called on an already disassociated interface.

Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: sujith sankar <ssujith@cisco.com>
Signed-off-by: ChingWei Chang <cwchang@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic.h
drivers/net/ethernet/cisco/enic/enic_pp.c