Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-07-12 | - Add a flags argument to dohooks. | Artur Grabowski | |
The flag can be either HOOK_REMOVE or HOOK_REMOVE|HOOK_FREE. o HOOK_REMOVE removes the hook from the list before executing it. o HOOK_FREE frees the hook after that. - Let dostartuphooks use HOOK_REMOVE|HOOK_FREE so we can reclaim the memory. - Let doshutdownhooks use HOOK_REMOVE so that when some shutdown hook panics (they do that all the #@$%! time these days) we don't loop for ever. Don't HOOK_FREE, it doesn't matter and I don't want to add another possible panic condition for shutdown hooks. - Actually free the pointer we're throwing away in hook_disestablish (I wonder how much memory this has leaked over the years). | |||
2002-07-05 | Free crp_opaque only after we've determined we're not going to | Angelos D. Keromytis | |
re-submit it. From sam@errno.com | |||
2002-07-05 | Also, return EAFNOSUPPORT instead of ENOBUFS. Both this and the | Angelos D. Keromytis | |
previous commit where noted by sam@errno.com | |||
2002-07-05 | Bump ipips_family in ipipstat in all cases where EAFNOSUPPORT is returned. | Angelos D. Keromytis | |
2002-07-03 | Change all variables definitions (int foo) in sys/sys/*.h to variable | Miod Vallat | |
declarations (extern int foo), and compensate in the appropriate locations. | |||
2002-07-01 | Move mtod() after the m_pullup() --- noted by sam@errno.com (who seems | Angelos D. Keromytis | |
to be going over the IPsec code with a magnifying glass) | |||
2002-06-28 | Fix usage counter for IPCOMP --- sam@errno.com | Angelos D. Keromytis | |
2002-06-28 | undo recent changes; they still crash for people (dhclient this time). | Theo de Raadt | |
This is a bullshit process. Test your shit before you toss it into the tree. | |||
2002-06-26 | Check for associated socket. | Angelos D. Keromytis | |
2002-06-26 | A bit more paranoid. | Angelos D. Keromytis | |
2002-06-26 | Update correct statistic if m_inject() fails --- from sam@errno.com | Angelos D. Keromytis | |
2002-06-25 | Forgot variable. | Angelos D. Keromytis | |
2002-06-25 | Ifdef the function proto as well. | Angelos D. Keromytis | |
2002-06-25 | Make udp_input() a bit more readable by farming out the IPsec input | Angelos D. Keromytis | |
policy checking to a separate routine. Also, add missing checks for multicast sockets, pointed out by sam@errno.com | |||
2002-06-25 | Handle correctly return values from xf_input methods --- since the | Angelos D. Keromytis | |
return value was ignored anyway, this wasn't a problem so far. From sam@errno.com | |||
2002-06-24 | skip routing table lookup if multicasting/broadcasting and the outgoing | Jun-ichiro itojun Hagino | |
interface is specified by setsockopt. from freebsd4, sync with kame (it makes difference when you run routed with RIPv2 enabled - no need for 224/4 route) | |||
2002-06-20 | minor indent cleanup while reading code | Theo de Raadt | |
2002-06-19 | Remove redundant address family check -- sam@errno.com | Angelos D. Keromytis | |
2002-06-18 | Style. | Angelos D. Keromytis | |
2002-06-18 | KNF | Angelos D. Keromytis | |
2002-06-18 | Initialize mo to NULL, for good measure -- sam@errno.com | Angelos D. Keromytis | |
2002-06-18 | Missing freeing of crp, from sam@errno.com | Angelos D. Keromytis | |
2002-06-18 | Fix double-free. | Angelos D. Keromytis | |
2002-06-18 | Same as with ip_ah.c (fix unreachable reference-after-free) | Angelos D. Keromytis | |
2002-06-18 | Fix reference to free'ed location (unreachable condition because of | Angelos D. Keromytis | |
spl protection, but better safe...) --- pointed out by sam@errno.com | |||
2002-06-14 | spelling; from Brian Poole <raj@cerias.purdue.edu> | Todd T. Fries | |
2002-06-13 | Remove whitespace from the end of the file. | Angelos D. Keromytis | |
2002-06-11 | splassert where comments tell us to. | Artur Grabowski | |
2002-06-10 | Split common code which converts a multicast address to an ethernet | Chris Cappuccio | |
address from ether_addmulti() and ether_delmulti() into ether_multiaddr(), a'la netbsd. Also clean up some magic numbers. itojun likes it | |||
2002-06-10 | correct tcpdump on gif interface (inbound). reported by fries | Jun-ichiro itojun Hagino | |
2002-06-10 | prevent mbuf leak on icmp_do_error() failure. | Jun-ichiro itojun Hagino | |
NOTE: under 4.4BSD mbuf coding discipline, once you pass mbuf to a function like f(m), you no longer have ownership of the mbuf. the mbuf will always be freed by the called function f(). by keeping the programming rule you have less chance of memory leak. | |||
2002-06-09 | whitespace | Jun-ichiro itojun Hagino | |
2002-06-09 | support published arp entries again. PR 2635 (confirmed by submitter). | Jun-ichiro itojun Hagino | |
2002-06-09 | typo | Jun-ichiro itojun Hagino | |
2002-06-09 | force FDDI link MTU be FDDI IPv4 MTU. PR 2714. jason ok | Jun-ichiro itojun Hagino | |
2002-06-09 | Comment out currently-unused code (it's there for the ethernet-ipsec | Angelos D. Keromytis | |
cards, none of which we support at the moment). | |||
2002-06-09 | fix the use of "cuz" in the tree; these are all in comments | Jason Peel | |
noticed by aaron@, recommended by deraadt@ | |||
2002-06-09 | Set/clear M_AUTH_AH. | Angelos D. Keromytis | |
2002-06-08 | Break up icmp_error() so we can have the icmp error mbuf returned | jasoni | |
instead of it being sent to ip_output(). | |||
2002-06-08 | sync with latest KAME in6_ifaddr/prefix/default router manipulation. | Jun-ichiro itojun Hagino | |
behavior changes: - two iocts used by ndp(8) are now obsolete (backward compat provided). use sysctl path instead. - lo0 does not get ::1 automatically. it will get ::1 when lo0 comes up. | |||
2002-06-08 | correctness | Chris Cappuccio | |
2002-06-07 | kill register; ok with itojun | jasoni | |
2002-06-07 | use TAILQ_FOREACH macro; ok angelos | jasoni | |
2002-06-07 | Use LIST macros instead of accessing field members directly; jason@ ok | Aaron Campbell | |
2002-06-07 | avoid is_ipv6 construct. a step towards IPv4-less kernel | Jun-ichiro itojun Hagino | |
2002-06-07 | no need for IPv4 mapped addr support | Jun-ichiro itojun Hagino | |
2002-06-07 | missing bzero! - now linklocal tcp works correctly | Jun-ichiro itojun Hagino | |
2002-06-04 | spaces to tabs, remove trailing whitespace | jasoni | |
2002-05-31 | respect rmx_mtu (cached PMTUD result) on outbound. deraadt/angelos ok | Jun-ichiro itojun Hagino | |
2002-05-31 | Socket-specific IPsec policy. | Angelos D. Keromytis | |