]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/net/bsd_tcpip/v2_0/ChangeLog
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / net / bsd_tcpip / v2_0 / ChangeLog
1 2008-01-06  Shaun Louie <sal@microplex.com>
2
3         * include/net/radix.h
4         * src/sys/net/radix.c
5         * src/sys/net/route.c
6         * src/sys/net/rtsock.c
7         * src/sys/netinet/if_ether.c
8         * src/sys/netinet6/icmp6.c
9         * src/sys/netinet6/nd6.c: Change Free to R_Free() so that it
10         corresponds to R_Malloc, and allows Free() wrappers in other
11         places.
12
13 2007-09-27  Gary Thomas  <gary@mlbassoc.com>
14
15         * src/sys/net/if.c (ifioctl): Add missing ioctl functions
16         (SIOCGIFSTATSUD, SIOCGIFSTATS) Reported by Emmanuel Coullien.
17
18 2007-09-11  Daniel NĂ©ri  <daniel.neri@sigicom.se>
19
20         * include/sys/socketvar.h: Fix very old and subtle macro bug. From
21         FreeBSD revision 1.141.2.3 (RELENG_6 branch): "correctly return an
22         error if M_NOWAIT is passed to sblock() and the operation might
23         block."
24
25 2007-07-08  Alexander Aganichev <aaganichev@gmail.com>
26
27         * include/sys/param.h (log_): Really disable logging when
28         it is disabled.
29
30 2007-03-21  Jay Foster <jay@systech.com>
31
32         * cdl/freebsd_net.cdl: Added option to enable BOOTP_COMPAT to
33         allow bootp to work.
34
35 2006-07-19  Philip Keller  <keller@metrolab.ch>
36
37         * src/ecos/support.c (cyg_netint): Don't handle events that don't
38         have handlers registered. Fixes Bug 1000046, whereby an assertion
39         or crash resulted from an ARP package arriving before network
40         initialization was complete.
41
42 2006-06-14  Andy Jackson <andy@xylanta.com>
43
44         * cdl/freebsd_net.cdl, src/ecos/support.c, src/ecos/support.c:
45         Changes to make stack sizes CDL configurable.
46
47 2006-05-19  Andrew Lunn  <andrew.lunn@ascom.ch>
48
49         * tests/sysctl1.c: Use CYG_NELEM from infra. 
50
51 2006-05-08  Andy Jackson <andy@grapevinetech.co.uk>
52
53         * src/ecos/support.c (cyg_net_show_mbufs): Use %p in diag_printf
54         to keep the compiler happy.
55
56 2005-10-24  Andrew Lunn  <andrew.lunn@ascom.ch>
57
58         * include/sys/param.h: Include <string.h> to stop warnings.
59
60 2005-10-23  Andrew Lunn  <andrew.lunn@ascom.ch>
61
62         * include/sys/time.h (Removed): Use the isoinfra sys/time.h
63         * include/net/if.h: We do need sys/time.h for timeval.
64         * src/sys/kern/uipc_socket.c: include sys/time.h for timeval
65         * src/sys/kern/uipc_socket2.c: Ditto
66         * src/sys/netinet6/in6_pcb.c (in6_pcbdetach): remove lvalue cast
67         to keep gcc4.x happy.
68         
69 2005-09-02  Sebastien Couret <sebastien.couret@elios-informatique.fr>
70
71         * src/sys/kern/kern_sysctl.c: Silent compiler warning on lvalue
72         assignment
73
74 2005-07-29  Andrew Lunn  <andrew.lunn@ascom.ch>
75
76         * src/sys/netinet/ip_output.c (ip_output): initialize len to 0.
77         * src/sys/net/if.c (ifioctl): Cast to keep compiler happy.
78         * src/ecos/support.c (_mask): Use the correct cast to keep the
79         compiler happy.
80         * include/sys/param.h: give proc0 the correct type so we don't
81         have to cast it and avoid a compiler warning.
82         * src/sys/kern/uipc_socket.c (soopt_mcopyout): Lefthand casts no
83         longer allowed with gcc4. 
84         * src/sys/net/if_ethersubr.c (ether_resolvemulti): Cast to keep
85         compiler happy.
86         * src/sys/net/rtsock.c: Define routedomain consistently to avoid
87         compiler warnings.
88         
89 2005-06-23  Gary Thomas  <gary@mlbassoc.com>
90
91         * include/netinet/if_ether.h: Adjust size of struct sockaddr_inarp
92         which needs to match struct sockaddr.  This was broken when IPv6
93         was added and without this change, ARP can get confused.  Tracked
94         down by Arnaud Chataignier <achataignier@neotion.com>
95
96 2005-06-17  Andrew Lunn  <andrew.lunn@ascom.ch>
97
98         * src/sys/kern/uipc_socket.c (sodealloc): Fixed a race condition
99         when freeing the socket memory. Problem reported by Will Lent.
100
101 2005-03-27  Andrew Lunn  <andrew.lunn@ascom.ch>
102
103         * src/sys/net/if.c (ifioctl): Fixed a compiler warning about 
104         types to printf.
105         * src/sys/netinet/if_ether.c (in_arpinput): Ditto
106         * src/sys/net/if.c: Ditto
107
108 2005-03-10      Matt Jerdonek   <maj1224@yahoo.com>
109
110         * cdl/freebsd_net.cdl:
111         * src/sys/netinet/in_pcb.c: add option to randomly pick
112         source port.  This option is useful when connecting
113         through firewalls.
114
115 2004-12-24  Motoya Kurotsu  <kurotsu@allied-telesis.co.jp>
116
117         * src/sys/kern/kern_sysctl.c: set mutex_init to one to prevent
118         mutex being initialized multiple times.
119         
120 2004-08-18  Andrew Lunn  <andrew.lunn@ascom.ch>
121
122         * src/ecos/support.c (show_net_times): Removed stats_in_cksum.
123         It does not exist in the FreeBSD stack. Pointed out by
124         Philip Keller.
125         
126 2004-08-17  Andrew Lunn  <andrew.lunn@ascom.ch>
127
128         * src/sys/kern/sockio.c (bsd_bind): Pass a copy of the sa into
129         bind so that the "kernel" code does not modify the "user" codes
130         version of the socket address.
131
132 2004-07-15 Oyvind Harboe <oyvind.harboe@zylin.com>      
133         
134         *cdl/freebsd_net.cdl:
135         *src/ecos/support.c: made memory pools default to current size, 
136         but separately controllable from the cdl file. This is useful for 
137         systems with tight memory budgets.
138         
139 2004-06-01  Sandeep Kumar  <sandeep@codito.com>
140
141         * tests/sysctl1.c: Call CYG_TEST_EXIT at the end of the test.
142
143 2004-05-25  Gary Thomas  <gary@mlbassoc.com>
144
145         * src/sys/netinet/if_ether.c: Clean up some log messages - remove
146         extraneous ":" which caused incorrect printouts.
147
148 2004-04-30  Jonathan Larmour  <jifl@eCosCentric.com>
149
150         * src/ecos/timeout.c (callout_reset): Clarify assert message on
151         expiry date from ages ago and also add comment explaining further.
152
153 2004-03-30  Horst Kronstorfer  <horst.kronstorfer@frequentis.com>
154  
155         * src/sys/kern/uipc_mbuf.c
156         * src/ecos/support.c
157         * include/sys/mbuf.h: Avoid blocking alloc from (empty) mbuf pool.
158         Freed mbufs are never returned to the pool, but to the mbuf
159         "free list". This can cause a deadlock situation.
160         Duplicated incrementing of mbuf statistics removed.
161  
162 2004-03-27  Andrew Lunn  <andrew.lunn@ascom.ch>
163
164         * src/ecos/support.c (_dumpentry): Don't skip routes which don't
165         have a netmask. These are seem to be valid host routes.
166
167 2004-02-18  Jonathan Larmour  <jifl@eCosCentric.com>
168
169         * doc/freebsd.sgml: Import text from openbsd doc about use of __ECOS
170         <network.h>, etc.
171
172 2004-01-17  Andrew Lunn  <andrew.lunn@ascom.ch>
173
174         * src/sys/kern/sockio.c (bsd_connect): Set the sa_len field in
175         the sockaddr structure. Real FreeBSD does this.
176
177 2003-12-21  Nick Garnett  <nickg@calivar.com>
178
179         * include/sys/param.h: Restored MD5 function mappings. These were
180         accidentally removed earlier.
181
182 2003-12-16  Gary Thomas  <gary@mlbassoc.com>
183
184         * cdl/freebsd_net.cdl: Increase default memory pool size to
185         include at least enough space to allocate PCBs and SOCKETs.
186         Without this, if the number of open files was raised, the
187         memory pool was inadequate.
188
189 2003-12-10  Gary Thomas  <gary@mlbassoc.com>
190
191         * include/netinet/in.h: Prototype for inet_ntoa_r()
192
193 2003-11-22  Andrew Lunn  <andrew.lunn@ascom.ch>
194
195         * include/net/if_gif.h include/net/if_sec.h include/net/zlib.h
196         include/netinet/ip_ecn.h include/netinet6/ah.h
197         include/netinet6/esp.h include/netinet6/esp_rijndael.h
198         include/netinet6/esp_twofish.h include/netinet6/in6_gif.h
199         include/netinet6/ipcomp.h include/netkey/key.h
200         include/netkey/key_debug.h include/netkey/keysock.h src/sys/netkey
201         src/sys/netinet/ip_ecn.c src/sys/netinet6/ah_core.c
202         src/sys/netinet6/ah_input.c src/sys/netinet6/ah_output.c
203         src/sys/netinet6/esp_core.c src/sys/netinet6/esp_input.c
204         src/sys/netinet6/esp_output.c src/sys/netinet6/esp_rijndael.c
205         src/sys/netinet6/esp_twofish.c src/sys/netinet6/in6_gif.c
206         src/sys/netinet6/ipcomp_core.c src/sys/netinet6/ipcomp_input.c
207         src/sys/netinet6/ipcomp_output.c src/sys/netinet6/ipsec.c: 
208         Added back the original KAME FreeBSD IPSEC files.  
209         * cdl/freebsd_net.cdl: CDl to control the compilation of IPSEC 
210         * include/sys/malloc.h: New memory type needed by IPSEC 
211         * include/sys/param.h: Name munging for IPSEC symbols 
212         * src/ecos/support.c: read_random_unlimited() should return the
213         number of random bytes in the buffer.
214         * src/sys/kern/kern_sysctl.c: Added missing copyright header.
215         * src/sys/netinet/ip_output.c: Removed user() checks in IPSEC code.
216         * src/sys/netinet6/ip6_output.c: Compiler warning fixes.
217
218 2003-11-08  Andrew Lunn  <andrew.lunn@ascom.ch>
219
220         * src/sys/kern/kern_sysctl.c (sysctl): Update the oldlen value at
221         the end of the sysctl call.
222
223 2003-10-28  Matt Jerdonek  <maj1224@yahoo.com>
224
225         * src/sys/netinet/tcp_output.c (tcp_setpersist): Use variable
226         tcp_rexmit_shift_max instead of TCP_MAXRXTSHIFT
227         * src/sys/netinet/tcp_subr.c (tcp_newtcpcb): Add FreeBSD
228         changes to control minimum retransmit time
229         * src/sys/netinet/tcp_timer.c : Use variable tcp_rexmit_shift_max
230         instead of TCP_MAXRXTSHIFT.  Also add FreeBSD changes to control
231         minimum retransmit time
232         * include/netinet/tcp_timer.h : Add external declarations to 
233         support above.
234         
235 2003-10-15  Roland Cassebohm  <roland.cassebohm@visionsystems.de>
236
237         * src/sys/net/if.c (ifinit): Change printf(...) to log(LOG_INIT,...) to
238         make it possible to disable output while initialization.
239  
240 2003-09-17  Reinhard Jessich  <Reinhard.Jessich@frequentis.com>
241
242         * src/sys/kern/uipc_mbuf.c: Now using flags (how) argument in call to
243         cyg_net_mbuf_alloc, to avoid a (blocking) call to alloc method of mempool 
244         during interrupts. This problem occurred under heavy IP traffic in case the 
245         mempool became empty (alloc blocked).
246         * src/sys/net/if_ethersubr.c: Avoid dereferencing NULL pointer in case of
247         failing m_copy. Note that this problem was (at least sometimes) hidden 
248         due to the bug in uipc_mbuf.c (described above).
249
250 2003-09-08  Andrew Lunn  <andrew.lunn@ascom.ch>
251
252         * src/ecos/support.c (read_random): New function which is needed
253         when CYGSEM_NET_RANDOMID is enabled.
254         * include/sys/param.h: Prototype for new function.
255
256 2003-07-25  Andrew Lunn  <andrew.lunn@ascom.ch>
257
258         * include/netinet/icmp_var.h 
259         * include/netinet/igmp_var.h
260         * include/netinet/in_var.h
261         * include/netinet/udp_var.h
262         * include/netinet6/tcp6_var.h
263         * include/netinet6/udp6_var.h
264         * include/sys/socket.h
265         * src/sys/net/if.c
266         * src/sys/net/if_ethersubr.c
267         * src/sys/net/rtsock.c
268         * sys/netinet/if_ether.c
269         * sys/netinet/igmp.c
270         * src/sys/netinet/in.c
271         * src/sys/netinet/in_pcb.c
272         * src/sys/netinet/in_proto.c
273         * src/sys/netinet/in_rmx.c
274         * src/sys/netinet/ip_flow.c
275         * src/sys/netinet/ip_icmp.c
276         * src/sys/netinet/ip_input.c
277         * src/sys/netinet/ip_output.c
278         * src/sys/netinet/raw_ip.c
279         * src/sys/netinet/tcp_input.c
280         * src/sys/netinet/tcp_output.c
281         * src/sys/netinet/tcp_output.c
282         * src/sys/netinet/tcp_subr.c
283         * src/sys/netinet/tcp_timer.c
284         * src/sys/netinet/tcp_usrreq.c
285         * src/sys/netinet/udp_usrreq.c
286         * src/sys/netinet6/in6_proto.c
287         * src/sys/netinet6/in6_rmx.c
288         * src/sys/netinet6/nd6.c
289         * src/sys/netinet6/udp6_output.c
290         * sys/netinet6/udp6_usrreq.c: Added back the support for sysctl 
291         which was removed in the port of the stack into eCos.
292         * include/sys/malloc.h (M_SYSCTL): SYSCTL types for malloc
293         * sys/kern/kern_sysctl.c (NEW): sysctl system call and support 
294         functions
295         * include/sys/sysctrl.h (NEW): header file for sysctl. 
296         * cdl/freebsd_net.cdl: CDL to enable/disable sysctl and a test case.
297         * tests/sysctl1.c (NEW): Test program for sysctl.
298         
299 2003-07-25  Andrew Lunn  <andrew.lunn@ascom.ch>
300
301         * include/sys/param.h: Fixed some compiler warnings.
302         * src/sys/netinet6/in6_ifattach.c: More fixes.
303         * src/sys/netinet6/in6.c: And some more.
304         * src/sys/netinet6/in6_pcb.c: YACW.     
305         * include/netinet6/ip6protosw.h: Maybe the last one?
306         * include/netinet6/ip6protosw.h: Nope
307         * include/sys/param.h:
308         * sys/kern/uipc_socket.c: More warnings
309         * src/sys/netinet6/in6_pcb.c: rename errno to _errno to avoid conflict.
310         * src/sys/netinet6/in6_ifattach.c: Prototype for _show_ifp().
311         * src/sys/netinet6/in6.c: Prototype for _show_ifp().
312
313 2003-07-28  Jay Foster  <jay@systech.com>
314
315         * src/sys/kern/sockio.c:
316         Fixed memory leak in accept() call.
317
318 2003-07-24  Nick Garnett  <nickg@balti.calivar.com>
319
320         * include/netinet/in.h:
321         * src/sys/kern/uipc_accf.c:
322         * src/sys/kern/uipc_socket.c:
323         * src/sys/net/route.c:
324         * src/sys/netinet/ip_icmp.c:
325         * src/sys/netinet/ip_input.c:
326         Fixed some compiler warnings.
327
328 2003-06-12  Motoya Kurotsu  <kurotsu@allied-telesis.co.jp>
329
330         * src/sys/netinet/ip_input.c(ip_reass):
331         ip_nfragpackets is increasing by dropping fragments due to mbuf 
332         starvation and eventually exceeds ip_maxfragpackets, which 
333         results in refusing all fragments later. On the other hand, nipq 
334         and maxnipq can be used as a substitute for ip_nfragpackets and 
335         ip_maxfragpackets. This fix is the collection of the fixes done 
336         at the following revisions of freebsd main branch; 1.221, 1.222, 
337         1.223 and 1.229.
338
339 2003-06-23  Michael Checky  <Michael_Checky@ThermoKing.com>
340  
341         * include/netinet/icmp_var.h: Changed icmpstat definition to a
342         declaration so stopping ld from generating a multiple symbol
343         definition error if combining of common symbols is disabled in the
344         toolchain.
345         * src/sys/netinet/ip_icmp.c: Added an icmpstat definition.
346
347 2003-06-23  Jay Foster  <jay@systech.com>
348
349         * src/ecos/support.c: Increase the stack size for the background
350         thread when IPv6 is enabled otherwise the stack overflows.
351
352 2003-06-09  Nick Garnett  <nickg@balti.calivar.com>
353
354         * src/ecos/synch.c (spl_any): Put call to cyg_mutex_lock() into a
355         loop so that releases of the current thread do not get mistaken
356         for locks and trigger the asserts.
357
358         * include/sys/malloc.h (M_DEVBUF): Added this definition.
359
360         * include/netinet/in.h: Changed size of sockaddr_in.sin_zero[] to
361         24 bytes. This makes a sockaddr_in the same size as a sockaddr.
362         Otherwise the definitions of things like ifaliasreq and
363         in_aliasreq do not match when they should.
364
365 2003-05-12  Motoya Kurotsu  <kurotsu@allied-telesis.co.jp>
366
367         * src/ecos/timeout.c (do_timeout): The head of the linked list of
368         timers is timeout, not _timeout.
369         * src/ecos/timeout.c (timeout): Linear search the array for empty 
370         entries and don't walk it like a linked list, because it is not.
371         * src/ecos/timeout.c (untimeout): Linear search is faster since 
372         there are many entries in the linked list which are not in the 
373         array.
374
375 2003-05-12  Andrew Lunn  <andrew.lunn@ascom.ch>
376
377         * src/ecos/support.c (_show_ifp): Display the IPv6 flag
378         information.
379
380 2003-05-04  Gary Thomas  <gary@mlbassoc.com>
381
382         * src/ecos/support.c: 
383         * cdl/freebsd_net.cdl: Add option to force initialization [debug]
384         messages to go to a serial console.  This seems to be necessary
385         on some hardware as the init sequence can totally foul up a
386         network [debug] connection.
387
388 2003-04-28  Andrew Lunn  <andrew.lunn@ascom.ch>
389
390         * src/ecos/support.c (cyg_net_malloc): Honour the flag M_ZERO,
391         otherwise we end up with junk where we don't want it.
392
393 2003-04-11  Michael Checky  <Michael_Checky@Thermoking.com>
394
395         * cdl/freebsd_net.cdl: Deleted the 
396         'CYGPKG_NET_FREEBSD_STACK_BUILD_TESTS'
397         component because these tests are in the net.cdl component
398         'CYGPKG_NET_BUILD_TESTS' and selecting this option in freebsd_net.cdl
399         causes build errors.
400
401 2003-04-05  Andrew Lunn  <andrew.lunn@ascom.ch>
402
403         * src/ecos/support.c (_show_ifp): Now understands IPv6 
404         addresses and network masks and added a few more flags
405         * src/sys/net/route.c (rt_reinit_rtdelete): Only delete IPv4
406         routes so that DHCP and BOOTP works and leave IPv6 routes so IPv6
407         also keeps working.
408
409 2003-03-14  Nick Garnett  <nickg@balti.calivar.com>
410
411         * src/ecos/support.c: Added function cyg_net_show_mbufs() and code
412         in cyg_net_mbuf_alloc() to accumulate and optionally display
413         information about the current set of mbufs. This is mostly a
414         debugging feature and is disabled by default.
415
416         * include/sys/mbuf.h: Added prototype for cyg_net_show_mbufs().
417
418 2003-03-14  Andrew Lunn  <andrew.lunn@ascom.ch>
419
420         * src/sys/net/if.c (if_attach): Removed printf which causes the
421         ethernet device to become corrupt. At this point the app driver
422         has started but not completed taking over from the redboot
423         driver. It is unsafe for redboot to use the ethernet device.
424
425 2003-02-24  Jonathan Larmour  <jifl@eCosCentric.com>
426
427         * cdl/freebsd_net.cdl: Fix doc link.
428
429 2003-02-18  Jonathan Larmour  <jifl@eCosCentric.com>
430
431         * cdl/freebsd_net.cdl: Remove unused NBPFILTER and BRIDGE CDL options.
432
433 2003-02-14  Jonathan Larmour  <jifl@eCosCentric.com>
434
435         * doc/freebsd.sgml: new_net template is now just "net".
436
437 2003-02-12  Jani Monoses  <jani@iv.ro>
438
439         * src/sys/kern/sockio.c: bsd_getinfo/bsd_setinfo should have
440         void * args. Silences warnings.
441         * src/sys/kern/uipc_socket.c (sopoll): Use __FUNCTION__ correctly
442         for GCC 3.x.
443         * src/sys/net/if_ethersubr.c: Put comments for stuff after endifs
444         to silence warnings.
445         * src/sys/net/if_loop.c: Ditto.
446
447 2003-02-04  Gary Thomas  <gary@mlbassoc.com>
448
449         * include/sys/bsdtypes.h: Workaround when building with new
450         Linux compatability package (which over-defines some symols
451         defined in this module).
452
453 2002-12-03  Gary Thomas  <gthomas@ecoscentric.com>
454
455         * src/ecos/support.c (show_network_tables): New function to
456         print information about network tables (interfaces, routing).
457
458 2002-11-12  Gary Thomas  <gary@mlbassoc.com>
459
460         * src/ecos/timeout.c (callout_reset): Check for finding the
461         correct "delta" was wrong - only used with asserts enabled.
462
463         * include/sys/uio.h: Compatability wrapper to expose 'iovec'
464         functions - used by many network programs.
465
466 2002-11-04  Gary Thomas  <gthomas@ecoscentric.com>
467
468         * src/sys/net/if.c (if_attach): Moved check for ifq_maxlen to
469         this function since it can't be checked until the device comes
470         online, which may not be a sysinit time for PCMCIA devices.
471
472 2002-11-03  Gary Thomas  <gthomas@ecoscentric.com>
473
474         * src/sys/kern/sockio.c (bsd_getname): Fix error where getsockname()
475         was actually performing getpeername().
476
477         * include/sys/uio.h: New file - compatability wrapper.
478
479 2002-07-31  Gary Thomas  <gary@chez-thomas.org>
480
481         * src/sys/netinet/in_cksum.c: Fix problem on big endian machines.
482
483 2002-07-26  Gary Thomas  <gary@chez-thomas.org>
484 2002-07-26  Ken Cox <jkc@redhat.com>
485
486         * src/ecos/support.c (ovbcopy): ovbcopy() must handle the case 
487         where the src and dst regions are overlayed.  memcpy() does not 
488         handle this case, but memmove() does.
489
490 2002-07-10  Gary Thomas  <gary@chez-thomas.org>
491
492         * src/sys/netinet/udp_usrreq.c: 
493         * src/sys/netinet/tcp_subr.c: 
494         * src/sys/netinet/in_pcb.c: Rename 'errno' function parameter
495         since some compilers have problems with this.
496
497 2002-07-08  Gary Thomas  <gary@chez-thomas.org>
498
499         * include/sys/param.h: Need <errno.h> which may or may not be
500         already present, depending on configuration.
501
502 2002-06-20  Gary Thomas  <gary@chez-thomas.org>
503
504         * include/sys/param.h (sprintf): Map to diag_sprintf().
505
506 2002-06-14  Gary Thomas  <gary@chez-thomas.org>
507
508         * src/ecos/support.c: 
509         Fix compile errors when CYGDBG_NET_TIMING_STATS enabled.
510
511 2002-06-05  Gary Thomas  <gary@chez-thomas.org>
512
513         * include/netinet/in.h: Rename 'ip_opts' field (using the same
514         name as the structure is illegal in C++).
515
516 2002-05-14  Jesper Skov  <jskov@redhat.com>
517
518         * include/netinet6/in6.h: Fixed warnings.
519
520 2002-04-22  Gary Thomas  <gthomas@redhat.com>
521
522         * src/sys/netinet6/nd6.c: Make debug (on) default.
523
524         * include/netinet/tcp_debug.h: Fully conditionalize debug facility.
525
526 2002-04-17  Gary Thomas  <gthomas@redhat.com>
527
528         * include/sys/socket.h: Remove definitions only used by sysctl
529         since their presence could be misleading.
530
531         * src/ecos/support.c (STACK_SIZE): Remove [debug/testing] bloat.
532
533 2002-03-30  Gary Thomas  <gthomas@redhat.com>
534
535         * include/machine/types.h: [Placeholder] needed for some compilers.
536
537 2002-03-28  Gary Thomas  <gthomas@redhat.com>
538
539         * src/sys/netinet/ip_icmp.c: 
540         * include/sys/param.h: 
541         * include/netinet/icmp_var.h: Export status structure for SNMP.
542
543         * cdl/freebsd_net.cdl: Augment log facilities to what SNMP uses.
544
545 2002-03-27  Gary Thomas  <gthomas@redhat.com>
546
547         * include/sys/param.h (log): Remove warning.
548
549 2002-03-25  Gary Thomas  <gthomas@redhat.com>
550
551         * src/ecos/support.c (zinit): Add more record keeping (and debug
552         prints) for zones.
553
554         * src/ecos/timeout.c (do_timeout): Don't reset ACTIVE when running
555         a timeout (since it confuses the TCP timer code).
556
557 2002-03-23  Gary Thomas  <gthomas@redhat.com>
558
559         * src/sys/netinet/in_cksum.c (in_addword): Changed to use uint32 since
560         uint64 was wasteful (and failed on some architectures!)
561
562 2002-03-20  Gary Thomas  <gthomas@redhat.com>
563
564         * include/sys/socket.h: Force struct sockaddr to be at least as
565         big as IPv4 or IPv6 sockets.  Possibly this could be a little
566         cleaner, but at least now it's safe for programs to use sockaddr
567         variables in either environment.
568
569 2002-03-11  Hugo Tyson  <hmt@redhat.com> 
570
571         [Case 107110]
572
573         * src/sys/netinet/in.c (in_control): SIOCSIFADDR switch entry
574         moved to before the scan for this same address being in the list
575         already, along with Add and Delete (SIOCAIFADDR,SIOCDIFADDR) arms.
576         It falls through into the same alloc-if-needed code anyway.
577         Thus repeatedly setting the same address does not leak store.
578
579         * src/sys/net/route.c (route_reinit): Rewrite to delete all routes
580         individually rather than en-masse (leaking store).
581         (rt_reinit_rtdelete): New function; callback for individual
582         deletion.
583         (rtioctl): Do not pass in a "route **" to return a pointer to the
584         route removed or added; this results in an extra reference, by the
585         returned pointer, and so a storeleak.
586         (rtrequest): RTM_DELETE arm: do not free a gateway route if the
587         gateway pointer is the same as the route itself - it gets freed
588         *again* at the end of the routine if you do.  Just dec the refcnt.
589
590 2002-03-08  Gary Thomas  <gthomas@redhat.com>
591
592         * src/sys/net/if_loop.c (loioctl): Force IFF_LOOPBACK setting.
593
594         * src/sys/kern/uipc_mbuf.c: Remove some warnings [from munging].
595
596         * src/ecos/support.c (cyg_net_init): Identify init messages.
597
598         * include/sys/param.h (nstab,nstab_end): These are not defined
599         within the network package and thus should not be munged.
600
601         * include/net/if.h: Add "IFF_LOOPBACK" to set of flags which
602         cannot be changed outside the kernel.  Note: this is a change
603         from the "normal" BSD code.  It was done to keep old code
604         working, but it may break some new code.
605
606 2002-03-07  Gary Thomas  <gthomas@redhat.com>
607
608         * src/sys/kern/uipc_mbuf.c: Work over for the namespace changes.
609
610         * include/sys/param.h: Complete namespace munging; privatize
611         all kernel symbols via "cyg_" prefix.
612
613 2002-02-05  Hugo Tyson  <hmt@redhat.com>
614
615         * cdl/freebsd_net.cdl: Position this package below CYGPKG_NET
616         ie. the common networking package.  Only affects the view in the
617         GUI CT, no big deal.
618
619 #####ECOSPDCOPYRIGHTBEGIN####
620 #
621 # Copyright (C) 2000, 2001, 2002 Red Hat, Inc.
622 # All Rights Reserved.
623 #
624 # Permission is granted to use, copy, modify and redistribute this
625 # file.
626 #
627 #####ECOSPDCOPYRIGHTEND####