diff options
| author | 2026-04-27 12:00:11 +0800 | |
|---|---|---|
| committer | 2026-05-05 00:31:05 +0200 | |
| commit | a200cdbf95932631ec338d08a6e9e31b34c4e8a6 (patch) | |
| tree | 0e05f4add0f213ea66b7448fbe9ae1441519e6db /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | selftests: tls: add test for data loss on small pipe (diff) | |
ovpn: reset MAC header before passing skb up
After decapsulating a packet, the skb->mac_header still points to the
outer transport header.
Fix this by calling skb_reset_mac_header() in ovpn_netdev_write() to
ensure the MAC header points to the beginning of
the inner IP/network packet, as expected by the rest of the stack.
Reported-by: Minqiang Chen <ptpt52@gmail.com>
Fixes: 8534731dbf2d ("ovpn: implement packet processing")
Signed-off-by: Qingfang Deng <qingfang.deng@linux.dev>
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
