From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Wed, 21 Apr 2004 11:14:04 -0700 (PDT) |
dillon 2004/04/21 11:14:04 PDT DragonFly src repository Modified files: sys/kern kern_poll.c sys/bus/usb usb_ethersubr.c sys/net netisr.c netisr.h sys/net/ppp if_ppp.c sys/netgraph/netgraph ng_base.c sys/netinet if_ether.c ip_input.c tcp_subr.c tcp_usrreq.c sys/netinet6 ip6_input.c ip6_var.h sys/netproto/atalk aarp.c at_extern.h ddp_input.c sys/netproto/atm atm_subr.c sys/netproto/ipx ipx_input.c sys/netproto/natm natm.c sys/netproto/ns ns_input.c Log: Fix a netmsg memory leak in the ARP code. Adjust all ms_cmd function dispatches to return a proper error code. Reported-by: multiple people Revision Changes Path 1.12 +6 -4 src/sys/kern/kern_poll.c 1.9 +2 -2 src/sys/bus/usb/usb_ethersubr.c 1.14 +6 -6 src/sys/net/netisr.c 1.16 +1 -1 src/sys/net/netisr.h 1.16 +2 -1 src/sys/net/ppp/if_ppp.c 1.13 +3 -2 src/sys/netgraph/netgraph/ng_base.c 1.12 +9 -8 src/sys/netinet/if_ether.c 1.20 +5 -4 src/sys/netinet/ip_input.c 1.28 +2 -2 src/sys/netinet/tcp_subr.c 1.17 +2 -1 src/sys/netinet/tcp_usrreq.c 1.14 +4 -1 src/sys/netinet6/ip6_input.c 1.6 +0 -1 src/sys/netinet6/ip6_var.h 1.10 +3 -2 src/sys/netproto/atalk/aarp.c 1.6 +3 -3 src/sys/netproto/atalk/at_extern.h 1.9 +4 -3 src/sys/netproto/atalk/ddp_input.c 1.13 +3 -2 src/sys/netproto/atm/atm_subr.c 1.11 +3 -2 src/sys/netproto/ipx/ipx_input.c 1.16 +3 -2 src/sys/netproto/natm/natm.c 1.12 +3 -2 src/sys/netproto/ns/ns_input.c http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_poll.c.diff?r1=1.11&r2=1.12&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_ethersubr.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/netisr.c.diff?r1=1.13&r2=1.14&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/netisr.h.diff?r1=1.15&r2=1.16&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/ppp/if_ppp.c.diff?r1=1.15&r2=1.16&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/netgraph/ng_base.c.diff?r1=1.12&r2=1.13&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netinet/if_ether.c.diff?r1=1.11&r2=1.12&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_input.c.diff?r1=1.19&r2=1.20&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netinet/tcp_subr.c.diff?r1=1.27&r2=1.28&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netinet/tcp_usrreq.c.diff?r1=1.16&r2=1.17&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ip6_input.c.diff?r1=1.13&r2=1.14&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ip6_var.h.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atalk/aarp.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atalk/at_extern.h.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atalk/ddp_input.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atm/atm_subr.c.diff?r1=1.12&r2=1.13&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipx/ipx_input.c.diff?r1=1.10&r2=1.11&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/natm/natm.c.diff?r1=1.15&r2=1.16&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ns/ns_input.c.diff?r1=1.11&r2=1.12&f=h