diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2013-08-03 10:45:54 +0000 |
---|---|---|
committer | Robert Love <robert.w.love@intel.com> | 2013-09-04 12:33:08 -0700 |
commit | 8b6124345207e4c2141bed78f1bf7c4f526a6d19 (patch) | |
tree | 797433c07bf58a5e5c37eb4b07aada7253f28c96 /drivers/scsi/libfc | |
parent | c0866286f10964e61ec10c8c605ef86e65fbbd38 (diff) | |
download | linux-8b6124345207e4c2141bed78f1bf7c4f526a6d19.tar.gz |
fcoe: make sure fcoe frames are unshared prior to manipulating them
Based on my last patch I noticed that fcoe_rcv has a simmilar problem, in that
it manipulates the passed in skb without checking to see if it has other users.
Making manipulations to a shared skb can result in various corruptions.
Easy fix, just make sure the skb is unshared prior to doing anything with it.
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Diffstat (limited to 'drivers/scsi/libfc')
0 files changed, 0 insertions, 0 deletions