HomeFreeBSD

udp: Fix soroverflow SOCKBUF unlocking

Description

udp: Fix soroverflow SOCKBUF unlocking

We hold the SOCKBUF_LOCK so use soroverflow_locked here.
This bug may manifest as a non-killable process stuck in [*so_rcv].

Approved by: scottl
Reviewed by: Roy Marples <roy@marples.name>
Fixes: 7045b1603bdf
MFC after: 10 days
Differential Revision: https://reviews.freebsd.org/D31374

(cherry picked from commit a61c24ddb7d677337d6184ffcee34a6e902d72d7)

Details

Provenance
Konstantin Kukushkin <darkdestructor@rambler.ru>Authored on Aug 1 2021, 2:41 PM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Aug 11 2021, 1:54 AM
Reviewer
rG7045b1603bdf: socket: Implement SO_RERROR
Differential Revision
D31374: udp: Fix soroverflow SOCKBUF unlocking
Parents
rGf45271340836: socket: Implement SO_RERROR
Branches
Unknown
Tags
Unknown