DragonFly commits List (threaded) for 2007-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/net raw_usrreq.c rtsock.c
dillon 2007/06/24 13:00:00 PDT
DragonFly src repository
Modified files:
sys/net raw_usrreq.c rtsock.c
Log:
Fix rts_input() which is the only procedure which calls raw_input(). As
with other packet input routines, the mbuf must be demuxed and forwarded
to the correct protocol thread so it can be cpu-localized for processing.
This allow anyone, including interrupt code, to write to the routing
socket.
Reported-by: "Sepherosa Ziehau" <sepherosa@gmail.com>
Revision Changes Path
1.14 +9 -6 src/sys/net/raw_usrreq.c
1.39 +35 -2 src/sys/net/rtsock.c
http://www.dragonflybsd.org/cvsweb/src/sys/net/raw_usrreq.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/rtsock.c.diff?r1=1.38&r2=1.39&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]