]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
so_vnet is constant after creation and no locking is necessary,
authorXin LI <delphij@FreeBSD.org>
Mon, 17 Aug 2015 05:53:37 +0000 (05:53 +0000)
committerXin LI <delphij@FreeBSD.org>
Mon, 17 Aug 2015 05:53:37 +0000 (05:53 +0000)
commite370f90a60082617c5814a8c69f4c6555366ff03
tree7a0149215387acde28c123c90720fc4eedf6f85b
parent3797bf08960b5ccca01574c641931ef924d77774
so_vnet is constant after creation and no locking is necessary,
document this fact.

(netmap have an assignment too but that socket object is on stack).

MFC after: 2 weeks
sys/sys/socketvar.h