Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   ozaki-r
Date:           Thu May 12 02:24:17 UTC 2016

Modified Files:
        src/sys/altq: altq_subr.c
        src/sys/arch/x86/x86: vmt.c
        src/sys/compat/common: uipc_syscalls_40.c
        src/sys/compat/linux/common: linux_socket.c
        src/sys/compat/linux32/common: linux32_socket.c
        src/sys/compat/svr4: svr4_sockio.c
        src/sys/compat/svr4_32: svr4_32_sockio.c
        src/sys/dev/pci: if_bge.c
        src/sys/dist/pf/net: pf_if.c
        src/sys/kern: kern_subr.c subr_tftproot.c uipc_mbuf.c
        src/sys/net: if.c if.h rtsock.c
        src/sys/net/npf: npf_if.c
        src/sys/netinet: ip_carp.c raw_ip.c sctp_asconf.c sctp_output.c
            sctp_pcb.c sctp_usrreq.c sctputil.c
        src/sys/netinet6: icmp6.c in6.c in6_ifattach.c nd6.c raw_ip6.c
        src/sys/netipsec: xform_ipip.c
        src/sys/rump/librump/rumpnet: net_stub.c

Log Message:
Protect ifnet list with psz and psref

The change ensures that ifnet objects in the ifnet list aren't freed during
list iterations by using pserialize(9) and psref(9).

Note that the change adds a pslist(9) for ifnet but doesn't remove the
original ifnet list (ifnet_list) to avoid breaking kvm(3) users. We
shouldn't use the original list in the kernel anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/altq/altq_subr.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x86/x86/vmt.c
cvs rdiff -u -r1.8 -r1.9 src/sys/compat/common/uipc_syscalls_40.c
cvs rdiff -u -r1.126 -r1.127 src/sys/compat/linux/common/linux_socket.c
cvs rdiff -u -r1.20 -r1.21 src/sys/compat/linux32/common/linux32_socket.c
cvs rdiff -u -r1.36 -r1.37 src/sys/compat/svr4/svr4_sockio.c
cvs rdiff -u -r1.21 -r1.22 src/sys/compat/svr4_32/svr4_32_sockio.c
cvs rdiff -u -r1.295 -r1.296 src/sys/dev/pci/if_bge.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dist/pf/net/pf_if.c
cvs rdiff -u -r1.216 -r1.217 src/sys/kern/kern_subr.c
cvs rdiff -u -r1.16 -r1.17 src/sys/kern/subr_tftproot.c
cvs rdiff -u -r1.164 -r1.165 src/sys/kern/uipc_mbuf.c
cvs rdiff -u -r1.333 -r1.334 src/sys/net/if.c
cvs rdiff -u -r1.203 -r1.204 src/sys/net/if.h
cvs rdiff -u -r1.185 -r1.186 src/sys/net/rtsock.c
cvs rdiff -u -r1.5 -r1.6 src/sys/net/npf/npf_if.c
cvs rdiff -u -r1.64 -r1.65 src/sys/netinet/ip_carp.c
cvs rdiff -u -r1.157 -r1.158 src/sys/netinet/raw_ip.c
cvs rdiff -u -r1.2 -r1.3 src/sys/netinet/sctp_asconf.c
cvs rdiff -u -r1.3 -r1.4 src/sys/netinet/sctp_output.c
cvs rdiff -u -r1.4 -r1.5 src/sys/netinet/sctp_pcb.c \
    src/sys/netinet/sctp_usrreq.c
cvs rdiff -u -r1.6 -r1.7 src/sys/netinet/sctputil.c
cvs rdiff -u -r1.182 -r1.183 src/sys/netinet6/icmp6.c
cvs rdiff -u -r1.198 -r1.199 src/sys/netinet6/in6.c
cvs rdiff -u -r1.97 -r1.98 src/sys/netinet6/in6_ifattach.c
cvs rdiff -u -r1.193 -r1.194 src/sys/netinet6/nd6.c
cvs rdiff -u -r1.142 -r1.143 src/sys/netinet6/raw_ip6.c
cvs rdiff -u -r1.37 -r1.38 src/sys/netipsec/xform_ipip.c
cvs rdiff -u -r1.22 -r1.23 src/sys/rump/librump/rumpnet/net_stub.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index