]> 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:38:50 +0000 (13:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 13:57:42 +0000 (15:57 +0200)
commit6d486f1e3818e5cd4f818fa9173fb2d28b588e00
tree22bd829bb7bbdaa4becfdc63987a4d3d16af3acf
parent9f69eb424aa2a617c3172ed01d9d2c92097915ac
Revert "ipv6: save dontfrag in cork"

This reverts commit 2b572c40981138349c04b3f69220ac878a36c561 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