cvs commit: src/sys/netinet raw_ip.c

David Rhodus drhodus at
Tue Aug 26 14:33:35 PDT 2003

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

  Modified files:
    sys/netinet          raw_ip.c 
  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

More information about the Commits mailing list