]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r218757:
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 16 Apr 2011 23:30:53 +0000 (23:30 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 16 Apr 2011 23:30:53 +0000 (23:30 +0000)
commit9f549c7d100ea793636a9ed578cdabb4ca7f16ae
treeb1dd4d156575de1d35eef3a402086b77c8ac69f0
parent5ab1f05cd49b2175ec1ea626e7efa7012abcab9c
MFC r218757:

  Mfp4 CH=177274,177280,177284-177285,177297,177324-177325

    VNET socket push back:
    try to minimize the number of places where we have to switch vnets
    and narrow down the time we stay switched.  Add assertions to the
    socket code to catch possibly unset vnets as seen in r204147.

    While this reduces the number of vnet recursion in some places like
    NFS, POSIX local sockets and some netgraph, .. recursions are
    impossible to fix.

    The current expectations are documented at the beginning of
    uipc_socket.c along with the other information there.

    Sponsored by: The FreeBSD Foundation
    Sponsored by: CK Software GmbH
    Reviewed by:  jhb
    Tested by:    zec

  Tested by:    Mikolaj Golub (to.my.trociny gmail.com)

git-svn-id: svn://svn.freebsd.org/base/stable/8@220733 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
23 files changed:
sys/fs/nfsclient/nfs_clvfsops.c
sys/fs/portalfs/portal_vnops.c
sys/kern/kern_descrip.c
sys/kern/sys_socket.c
sys/kern/uipc_socket.c
sys/kern/uipc_syscalls.c
sys/kern/uipc_usrreq.c
sys/net/if.c
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
sys/netinet/sctp_input.c
sys/netinet/sctp_peeloff.c
sys/nfsclient/bootp_subr.c
sys/nfsclient/krpc_subr.c
sys/nfsclient/nfs_diskless.c
sys/nfsclient/nfs_vfsops.c
sys/rpc/clnt_dg.c
sys/rpc/clnt_vc.c
sys/rpc/rpc_generic.c
sys/rpc/svc_dg.c
sys/rpc/svc_generic.c
sys/rpc/svc_vc.c