Page MenuHomeFreeBSD

ctl: use socket buffer mutexes in struct socket directly
ClosedPublic

Authored by glebius on May 13 2024, 11:28 PM.
Tags
None
Referenced Files
F103159481: D45190.id.diff
Thu, Nov 21, 5:50 PM
Unknown Object (File)
Sun, Oct 27, 8:09 PM
Unknown Object (File)
Oct 20 2024, 12:03 AM
Unknown Object (File)
Oct 19 2024, 3:19 AM
Unknown Object (File)
Oct 13 2024, 4:41 AM
Unknown Object (File)
Sep 24 2024, 8:40 AM
Unknown Object (File)
Sep 21 2024, 10:06 PM
Unknown Object (File)
Sep 2 2024, 12:48 AM
Subscribers

Details

Summary

A mechanical change performed with sed(1) script:

s/SOCKBUF_LOCK\(&so->so_rcv\)/SOCK_RECVBUF_LOCK(so)/
s/SOCKBUF_UNLOCK\(&so->so_rcv\)/SOCK_RECVBUF_UNLOCK(so)/
s/SOCKBUF_MTX\(&so->so_rcv\)/SOCK_RECVBUF_MTX(so)/
s/SOCKBUF_LOCK\(&so->so_snd\)/SOCK_SENDBUF_LOCK(so)/
s/SOCKBUF_UNLOCK\(&so->so_snd\)/SOCK_SENDBUF_UNLOCK(so)/
s/SOCKBUF_MTX\(&so->so_snd\)/SOCK_SENDBUF_MTX(so)/

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57697
Build 54585: arc lint + arc unit

Event Timeline

Mechanically it seems to have sense. I've missed when than original transition happened, but if you say it is right, so be it.

This revision is now accepted and ready to land.May 14 2024, 12:22 AM