]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] fcoe: remove frame dropping code from fcoe_percpu_clean
authorNeil Horman <nhorman@tuxdriver.com>
Fri, 9 Mar 2012 22:50:19 +0000 (14:50 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 28 Mar 2012 08:17:01 +0000 (09:17 +0100)
commitdd060e74fb4c2513420d8af7371cda2f3eea4fa9
treee5d66bec0ea7f4de3eb708d1452ba2da10776ac4
parentfc05ab74b78a9e16b0faa9f0dc3c87f3f30d3231
[SCSI] fcoe: remove frame dropping code from fcoe_percpu_clean

commit e7a51997dad4e17395be1209970e18d2e9305b24 ([SCSI] fcoe: flush per-cpu
thread work when destroying interface) added a skb flush to the fcoe_rx_list,
which ensures that we push any pending frames on the list through the per-cpu
receive thread.  Because of this, its redundant to lock and scan the list
first, dropping any arriving frames.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/fcoe/fcoe.c