diff options
author | Felix Fietkau <nbd@nbd.name> | 2024-05-05 20:42:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-05-08 10:37:57 +0100 |
commit | 86b29d830ad69eecff25b22dc96c14c6573718e6 (patch) | |
tree | 57083ee248520565f1cef96770d96ce5a4a50846 /lib/string_kunit.c | |
parent | 6963c508fd7ab66ae0b7ae3db9a62ca6267f1ae8 (diff) | |
download | linux-stable-86b29d830ad69eecff25b22dc96c14c6573718e6.tar.gz linux-stable-86b29d830ad69eecff25b22dc96c14c6573718e6.tar.bz2 linux-stable-86b29d830ad69eecff25b22dc96c14c6573718e6.zip |
net: bridge: fix corrupted ethernet header on multicast-to-unicast
The change from skb_copy to pskb_copy unfortunately changed the data
copying to omit the ethernet header, since it was pulled before reaching
this point. Fix this by calling __skb_push/pull around pskb_copy.
Fixes: 59c878cbcdd8 ("net: bridge: fix multicast-to-unicast with fraglist GSO")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/string_kunit.c')
0 files changed, 0 insertions, 0 deletions