]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
flow_dissector: Correctly handle parsing FCoE
authorAlexander Duyck <aduyck@mirantis.com>
Wed, 24 Feb 2016 17:29:51 +0000 (09:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Feb 2016 18:58:04 +0000 (13:58 -0500)
commit224516b3a798a0563346748744f8cd19feaf09be
tree619b14a96a1071c10e222f0795e635bf1405b502
parent43d2ccb3c122a47524019d1831a54f07f7fcb978
flow_dissector: Correctly handle parsing FCoE

The flow dissector bits handling FCoE didn't bother to actually validate
that the space there was enough for the FCoE header.  So we need to update
things so that if there is room we add the header and report a good result,
otherwise we do not add the header, and report the bad result.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Acked-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow_dissector.c