1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-06 09:17:25 +00:00
freebsd/sys/net
Bosko Milekic a352dd9a71 Fixup (hopefully) bridging + ipfw + dummynet together...
* Some dummynet code incorrectly handled a malloc()-allocated pseudo-mbuf
  header structure, called "pkt," and could consequently pollute the mbuf
  free list if it was ever passed to m_freem(). The fix involved passing not
  pkt, but essentially pkt->m_next (which is a real mbuf) to the mbuf
  utility routines.

* Also, for dummynet, in bdg_forward(), made the code copy the ethernet header
  back into the mbuf (prepended) because the dummynet code that follows expects
  it to be there but it is, unfortunately for dummynet, passed to bdg_forward
  as a seperate argument.

PRs: kern/19551 ; misc/21534 ; kern/23010
Submitted by: Thomas Moestl <tmoestl@gmx.net>
Reviewed by: bmilekic
Approved by: luigi
2000-11-23 22:25:03 +00:00
..
bpf_compat.h
bpf_filter.c
bpf.c Fix an order of operations buglet. ! has higher precedence than &. This 2000-11-03 00:51:41 +00:00
bpf.h
bpfdesc.h
bridge.c Fixup (hopefully) bridging + ipfw + dummynet together... 2000-11-23 22:25:03 +00:00
bridge.h Make the bridge_refresh operation automatic when ethernet interfaces 2000-07-29 02:00:12 +00:00
bsd_comp.c Remove #if DO_DEFLATE 2000-10-27 08:38:26 +00:00
ethernet.h Const'ify parameters to ethers(3) routines as appropriate. 2000-07-18 22:44:52 +00:00
fddi.h
hostcache.c
hostcache.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
if_arp.h Make the ng_ether(4) node type dynamically loadable like the rest. 2000-06-26 23:34:54 +00:00
if_atm.h
if_atmsubr.c
if_disc.c
if_dl.h
if_ef.c Properly setup link level header length for 802.2 and SNAP frames. 2000-09-30 14:33:53 +00:00
if_ethersubr.c Properly setup link level header length for 802.2 and SNAP frames. 2000-09-30 14:33:53 +00:00
if_faith.c
if_fddisubr.c Make compilable. if_fddisubr.c depended on sys/malloc.h by my 2000-11-04 14:21:23 +00:00
if_gif.c Temporary hack for the benefit of the X-Bone project 2000-07-20 00:35:37 +00:00
if_gif.h sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
if_ieee80211.h Add some additional message types for coming raylan driver from Duncan 2000-10-30 06:03:57 +00:00
if_iso88025subr.c Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
if_llc.h
if_loop.c o Add missing "\n" to warning output in netinet/if_loop.c, when an 2000-09-04 21:46:27 +00:00
if_media.c
if_media.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
if_mib.c Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
if_mib.h
if_ppp.c
if_ppp.h
if_pppvar.h
if_sl.c Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
if_slvar.h The slip driver used to allocate a mbuf cluster without attaching 2000-08-18 08:02:31 +00:00
if_sppp.h
if_spppsubr.c
if_stf.c Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
if_stf.h sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
if_tap.c Rename lminor() to dev2unit(). This function gives a linear unit number 2000-09-19 10:28:44 +00:00
if_tap.h Add the tap driver. 2000-07-20 17:01:10 +00:00
if_tapvar.h Change to support vmware... SIOCSIFADDR on the character device 2000-07-25 23:50:30 +00:00
if_tun.c Have tuninit() return an error if an interface address is NULL. 2000-11-02 16:30:26 +00:00
if_tun.h
if_tunvar.h
if_types.h Fix if_types.h as per the IANA assignments with regard to IPv6. 2000-07-28 06:20:11 +00:00
if_var.h Augment the 'ifaddr' structure with a 'struct if_data' to keep 2000-10-19 23:15:54 +00:00
if_vlan_var.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
if_vlan.c Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
if.c Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
if.h
intrq.c Do some cleanups of the HARP atm codes interface into the system: 2000-10-12 00:03:50 +00:00
intrq.h
iso88025.h
net_osdep.c sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
net_osdep.h repair endianness issue in IN_MULTICAST(). 2000-08-15 07:34:08 +00:00
netisr.h - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
pfil.c Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
pfil.h Replace nonexistent !defined(_LKM) by !defined(KLD_MODULE) 2000-08-01 00:40:32 +00:00
pfkeyv2.h sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
ppp_comp.h Remove bogus undocumented macros used to control conditional assembly. 2000-10-27 08:39:41 +00:00
ppp_deflate.c Remove #if DO_DEFLATE 2000-10-27 08:38:26 +00:00
ppp_defs.h
ppp_tty.c Removed unused includes (garbage left over/created by the SMPng megacommit). 2000-09-26 17:48:55 +00:00
radix.c Initialize rn_mklist in rn_newpair(). The undocumented assumption 2000-10-27 20:50:14 +00:00
radix.h
raw_cb.c
raw_cb.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
raw_usrreq.c Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
route.c
route.h When a connection is being dropped due to a listen queue overflow, 2000-07-21 23:26:37 +00:00
rtsock.c Workaround to avoid panic during detach pccard nic. 2000-07-25 11:21:01 +00:00
slcompress.c
slcompress.h
slip.h
zlib.c
zlib.h