diff options
| author | Matthew Vick <[email protected]> | 2015-01-29 07:17:22 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2015-03-03 01:07:21 -0800 |
| commit | 8c1a90aa497dc4e2f971028c4484566629757357 (patch) | |
| tree | f32bb06ba0904ef78696b6f9ee035df82822b844 /include/linux | |
| parent | b898441f4ece44933af90b116b467f7864dd1ae7 (diff) | |
fm10k: Modify tunnel length header check when offloading
The FM10000 host interface can only support up to 184 bytes when
performing tunnel offloads. Because of this, a check was added to
prevent the driver from attempting to feed a header to the hardware too
big for it to parse. Make this check a little more robust by calculating
the inner L4 header length based on whether it is TCP or UDP.
Cc: Joe Stringer <[email protected]>
Signed-off-by: Matthew Vick <[email protected]>
Tested-by: Krishneil Singh <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions