DragonFly BSD
DragonFly commits List (threaded) for 2003-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/netinet raw_ip.c


From: David Rhodus <drhodus@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 26 Aug 2003 14:32:57 -0700 (PDT)

drhodus     2003/08/26 14:32:57 PDT

  Modified files:
    sys/netinet          raw_ip.c 
  Log:
  M_PREPEND() can fail, meaning the returned mbuf
  can be NULL. Check for NULL in rip_output()
  when prepending an IP header. This prevents
  mbuf exhaustion from causing a kernel panic
  when sending raw IP packets.
  
  Revision  Changes    Path
  1.7       +2 -0      src/sys/netinet/raw_ip.c




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