Re: [PATCH 08/18] bnx2fc: Handle NETDEV_UNREGISTER for vlan devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/18/2011 4:52 PM, Bhanu Gollapudi wrote:
On Thu, 2011-08-04 at 11:47 -0700, Bhanu Prakash Gollapudi wrote:
Since the driver holds the reference for vlan netdev, the reference has to be
released by the driver when the vlan device is removed. Driver handles this in
NETDEV_UNREGISTER event.

Signed-off-by: Bhanu Prakash Gollapudi<bprakash@xxxxxxxxxxxx>

As per Mike Christie's comments, we need not call __bnx2fc_destroy()
with schedule parameter, because we are already in the right context
with indicate_netevent being called with rtnl_lock().

Re-spinning this patch alone with 'schedule' parameter removed from
__bnx2fc_destroy().


James, I realize that the modified patch has not been picked up by you. I will submit a follow-on patch with specific changes shortly.

Thanks.


------------------------

Since the driver holds the reference for vlan netdev, the reference has to be
released by the driver when the vlan device is removed. Driver handles this in
NETDEV_UNREGISTER event.

Signed-off-by: Bhanu Prakash Gollapudi<bprakash@xxxxxxxxxxxx>
---
  drivers/scsi/bnx2fc/bnx2fc_fcoe.c |   87 ++++++++++++++++++++++---------------
  1 files changed, 52 insertions(+), 35 deletions(-)

diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
index 673c97c..9a7077b 100644

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux