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:   knakahara
Date:           Wed Jun 22 10:44:32 UTC 2016

Modified Files:
        src/sys/dev/usb: if_upl.c
        src/sys/net: if.c if.h if_bridge.c if_ieee1394subr.c if_loop.c
            if_vlan.c
        src/sys/netipsec: ipsec_osdep.h

Log Message:
fix: locking about IFQ_ENQUEUE and ALTQ

- If NET_MPSAFE is not defined, IFQ_LOCK is nop. Currently, that means
  IFQ_ENQUEUE() of some paths such as bridge_enqueue() is called parallel
  wrongly.
- If ALTQ is enabled, Tx processing should call if_transmit() (= IFQ_ENQUEUE
  + ifp->if_start()) instead of ifp->if_transmit() to call ALTQ_ENQUEUE()
  and ALTQ_DEQUEUE().
  Furthermore, ALTQ processing is always required KERNEL_LOCK currently.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/usb/if_upl.c
cvs rdiff -u -r1.344 -r1.345 src/sys/net/if.c
cvs rdiff -u -r1.214 -r1.215 src/sys/net/if.h
cvs rdiff -u -r1.128 -r1.129 src/sys/net/if_bridge.c
cvs rdiff -u -r1.55 -r1.56 src/sys/net/if_ieee1394subr.c
cvs rdiff -u -r1.88 -r1.89 src/sys/net/if_loop.c
cvs rdiff -u -r1.89 -r1.90 src/sys/net/if_vlan.c
cvs rdiff -u -r1.25 -r1.26 src/sys/netipsec/ipsec_osdep.h

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