cvs commit: src/sys/net raw_usrreq.c rtsock.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jun 24 13:03:20 PDT 2007


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 at 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





More information about the Commits mailing list