diff options
author | William Tu <u9012063@gmail.com> | 2018-05-11 14:49:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-11 22:03:49 +0200 |
commit | d5db21a3e6977dcb42cee3d16cd69901fa66510a (patch) | |
tree | 02531f421723d9954ab3a3013e44e864890c6449 /drivers/net/bonding/bond_alb.c | |
parent | Merge branch 'mlxsw-spectrum_span-Two-minor-adjustments' (diff) | |
download | linux-d5db21a3e6977dcb42cee3d16cd69901fa66510a.tar.xz linux-d5db21a3e6977dcb42cee3d16cd69901fa66510a.zip |
erspan: auto detect truncated ipv6 packets.
Currently the truncated bit is set only when 1) the mirrored packet
is larger than mtu and 2) the ipv4 packet tot_len is larger than
the actual skb->len. This patch adds another case for detecting
whether ipv6 packet is truncated or not, by checking the ipv6 header
payload_len and the skb->len.
Reported-by: Xiaoyan Jin <xiaoyanj@vmware.com>
Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_alb.c')
0 files changed, 0 insertions, 0 deletions