]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The locking annotations for struct sockbuf originally used the key from
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 16 Feb 2016 21:42:53 +0000 (21:42 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 16 Feb 2016 21:42:53 +0000 (21:42 +0000)
commit1662c2ae80a31581bcdb97af02772476722022da
tree7396694973619f0bb9174732586a8d4d07acb3e2
parent0bfdca975c225723475f281e0a114eafae08c5ae
The locking annotations for struct sockbuf originally used the key from
struct socket.  When sockbuf.h was moved out of socketvar.h, the locking
key was no longer nearby.  Instead, add a new key for sockbuf and use
a single item for the socket buffer lock instead of separate entries for
receive vs send buffers.

Reviewed by: adrian
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D4901
sys/sys/sockbuf.h
sys/sys/socketvar.h