]> 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:41:51 +0000 (13:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 6 Jul 2025 08:58:04 +0000 (10:58 +0200)
commitb80d171c2ff6be947472d977521cc056ca42b027
treee88cf526d5cecd0ac127699f8f4933a17bf328a6
parent2a6cc079ae47fb6d4dda872c7a754698dd7d722b
Revert "ipv6: save dontfrag in cork"

This reverts commit 4f809be95d9f3db13d31c574b8764c8d429f0c3b 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