diff options
author | Hangbin Liu <[email protected]> | 2022-11-18 11:43:53 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-11-18 19:41:51 -0800 |
commit | 4d633d1b468b6eb107a81b2fd10b9debddca3d47 (patch) | |
tree | 47e1dac7b91baca766b52379d1e41cb0cc6df70a /tools/perf/scripts/python/syscall-counts.py | |
parent | 6295cf7bed277ac90032940fe904b516bb65efbf (diff) |
bonding: fix ICMPv6 header handling when receiving IPv6 messages
Currently, we get icmp6hdr via function icmp6_hdr(), which needs the skb
transport header to be set first. But there is no rule to ask driver set
transport header before netif_receive_skb() and bond_handle_frame(). So
we will not able to get correct icmp6hdr on some drivers.
Fix this by using skb_header_pointer to get the IPv6 and ICMPV6 headers.
Reported-by: Liang Li <[email protected]>
Fixes: 4e24be018eb9 ("bonding: add new parameter ns_targets")
Suggested-by: Eric Dumazet <[email protected]>
Signed-off-by: Hangbin Liu <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Acked-by: Jay Vosburgh <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions