]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "ipv6: save dontfrag in cork"
authorBrett A C Sheffield (Librecast) <bacs@librecast.net>
Wed, 2 Jul 2025 11:37:32 +0000 (13:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 6 Jul 2025 09:00:16 +0000 (11:00 +0200)
commitc46358d0275953b27c3d86f7a224e229f2d57d05
treefcd87a2ab3474bfafc91038e801bb5637a425108
parent1583d908cc7748e026a3984dd4cbbb6adfe64c05
Revert "ipv6: save dontfrag in cork"

This reverts commit 8ebf2709fe4dcd0a1b7b95bf61e529ddcd3cdf51 which is
commit a18dfa9925b9ef6107ea3aa5814ca3c704d34a8a upstream.

A regression was introduced when backporting this to the stable kernels
without applying previous commits in this series.

When sending IPv6 UDP packets larger than MTU, EMSGSIZE was returned
instead of fragmenting the packets as expected.

As there is no compelling reason for this commit to be present in the
stable kernels it should be reverted.

Signed-off-by: Brett A C Sheffield <bacs@librecast.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/ipv6.h
net/ipv6/ip6_output.c