]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: Check tunnel header length in encap offload
authorJoe Stringer <joestringer@nicira.com>
Fri, 14 Nov 2014 07:47:40 +0000 (07:47 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Jan 2015 02:10:21 +0000 (18:10 -0800)
commit845863be0e49224f800483a4b53c8cfa2f3089fc
treecffd645bf612e024996c7c623110fe3590a16a0a
parente2c3679716654067c3fab35773c80842523a5ba8
fm10k: Check tunnel header length in encap offload

fm10k supports up to 184 bytes of inner+outer headers. Add an initial
check to fail encap offload if these are too large.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_main.c