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
Unknown Object (File)
Wed, Jan 8, 9:46 PM
Unknown Object (File)
Tue, Jan 7, 8:33 PM
Unknown Object (File)
Dec 21 2024, 9:46 AM
Unknown Object (File)
Dec 1 2024, 3:03 AM
Unknown Object (File)
Nov 25 2024, 9:00 AM
Unknown Object (File)
Nov 24 2024, 9:07 PM
Unknown Object (File)
Nov 21 2024, 5:50 PM
Unknown Object (File)
Oct 27 2024, 8:09 PM
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