summaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2023-06-14 12:47:04 -0700
committerJakub Kicinski <kuba@kernel.org>2023-06-15 15:08:58 -0700
commitbe28c14ac8bbe1ff0b2a18a06cd10981f90fc741 (patch)
tree489cc506387d49ff33a1b1e8ed21ad050111245c /net/dccp
parent9a36e2d44d122fe73a2a76ba73f1d50a65cf8210 (diff)
downloadlinux-be28c14ac8bbe1ff0b2a18a06cd10981f90fc741.tar.gz
linux-be28c14ac8bbe1ff0b2a18a06cd10981f90fc741.tar.bz2
linux-be28c14ac8bbe1ff0b2a18a06cd10981f90fc741.zip
udplite: Print deprecation notice.
Recently syzkaller reported a 7-year-old null-ptr-deref [0] that occurs when a UDP-Lite socket tries to allocate a buffer under memory pressure. Someone should have stumbled on the bug much earlier if UDP-Lite had been used in a real app. Also, we do not always need a large UDP-Lite workload to hit the bug since UDP and UDP-Lite share the same memory accounting limit. Removing UDP-Lite would simplify UDP code removing a bunch of conditionals in fast path. Let's add a deprecation notice when UDP-Lite socket is created and schedule its removal to 2025. Link: https://lore.kernel.org/netdev/20230523163305.66466-1-kuniyu@amazon.com/ [0] Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions