diff options
| author | Jiri Benc <[email protected]> | 2016-11-10 16:28:17 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-11-13 00:51:02 -0500 |
| commit | 738314a084aae5f76ff760279034b39d52c42e8b (patch) | |
| tree | 3804fb58d9d7e735e7a84db09d0717f71f7bd06e /scripts/stackusage | |
| parent | c540594f864bb4645573c2c0a304919fabb3d7ea (diff) | |
openvswitch: use hard_header_len instead of hardcoded ETH_HLEN
On tx, use hard_header_len while deciding whether to refragment or drop the
packet. That way, all combinations are calculated correctly:
* L2 packet going to L2 interface (the L2 header len is subtracted),
* L2 packet going to L3 interface (the L2 header is included in the packet
lenght),
* L3 packet going to L3 interface.
Signed-off-by: Jiri Benc <[email protected]>
Acked-by: Pravin B Shelar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions