freebsd-nq/sys/netinet6
Randall Stewart c4739e2f47 - Fix address add handling to clear cached routes and source addresses
when peer acks the add in case the routing table changes.
- Fix sctp_lower_sosend to send shutdown chunk for mbuf send
  case when sndlen = 0 and sinfoflag = SCTP_EOF
- Fix sctp_lower_sosend for SCTP_ABORT mbuf send case with null data,
  So that it does not send the "null" data mbuf out and cause
  it to get freed twice.
- Fix so auto-asconf sysctl actually effect the socket's asconf state.
- Do not allow SCTP_AUTO_ASCONF option to be used on subset bound sockets.
- Memset bug in sctp_output.c (arguments were reversed) submitted
  found and reported by Dave Jones (davej@codemonkey.org.uk).
- PD-API point needs to be invoked >= not just > to conform to socket api
  draft this fixes sctp_indata.c in the two places need to be >=.
- move M_NOTIFICATION to use M_PROTO5.
- PEER_ADDR_PARAMS did not fail properly if you specify an address
  that is not in the association with a valid assoc_id. This meant
  you got or set the stcb level values instead of the destination
  you thought you were going to get/set. Now validate if the
  stcb is non-null and the net is NULL that the sa_family is
  set and the address is unspecified otherwise return an error.
- The thread based iterator could crash if associations were freed
  at the exact time it was running. rework the worker thread to
  use the increment/decrement to prevent this and no longer use
  the markers that the timer based iterator uses.
- Fix the memleak in sctp_add_addr_to_vrf() for the case when it is
  detected that ifa is already pointing to a ifn.
- Fix it so that if someone is so insane that they drop the
  send window below the minimal add mark, they still can send.
- Changed all state for associations to use mask safe macro.
- During front states in association freeing in sctp_inpcbfree, we
  had a locking problem where locks were not in place where they
  should have been.
- Free association calls were not testing the return value in
  sctp_inpcb_free() properly... others should be cast  void returns
  where we don't care about the return value.
- If a reference count is held on an assoc, even from the "force free"
  we should not do the actual free.. but instead let the timer
  free it.
- When we enter sctp_input(), if the SCTP_ASOC_ABOUT_TO_BE_FREED
  flag is set, we must NOT process the packet but handle it like
  ootb. This is because while freeing an assoc we release the
  locks to get all the higher order locks so we can purge all
  the hash tables. This leaves a hole if a packet comes in
  just at that point. Now sctp_common_input_processing() will
  call the ootb code in such a case.
- Change MBUF M_NOTIFICATION to use M_PROTO5 (per Sam L). This makes
  it so we don't have a conflict (I think this is a covertity change).
  We made this change AFTER some conversation and looking to make sure
  that M_PROTO5 does not have a problem between SCTP and the 802.11
  stuff (which is the only other place its used).
- Fixed lock order reversal and missing atomic protection around
  locked_tcb during association lookup and the 1-2-1 model.
- Added debug to source address selection.
- V6 output must always do checksum even for loopback.
- Remove more locks around inp that are not needed for an atomically
  added/subtracted ref count.
- slight optimization in the way we zero the array in sctp_sack_check()
- It was possible to respond to a ABORT() with bad checksum with
  a PKT-DROP. This lead to a PKT-DROP/ABORT war. Add code to NOT
  send a PKT-DROP to any ABORT().
- Add an option for local logging (useful for macintosh or when
  you need better performing during debugging). Note no commands
  are here to get the log info, you must just use kgdb.
- The timer code needs to be aware of if it needs to call
  sctp_sack_check() to slide the maps and adjust the cum-ack.
  This is because it may be out of sync cum-ack wise.
- Added threshold managment logging.
- If the user picked just the right size, that just filled the send
  window minus one mtu, we would enter a forever loop not copying and
  at the same time not blocking. Change from < to <= solves this.
- Sysctl added to control the fragment interleave level which defaults
  to 1.
- My rwnd control was not being used to control the rwnd properly (we
  did not add and subtract to it :-() this is now fixed so we handle
  small messages (1 byte etc) better to bring our rwnd down more
  slowly.

Approved by:	re@freebsd.org (Bruce Mah)
2007-08-24 00:53:53 +00:00
..
dest6.c ANSIfy[1] plus some style cleanup nearby. 2007-07-05 16:23:49 +00:00
frag6.c Space cleanup 2007-07-05 16:29:40 +00:00
icmp6.c Space cleanup 2007-07-05 16:29:40 +00:00
icmp6.h
in6_cksum.c ANSIfy[1] plus some style cleanup nearby. 2007-07-05 16:23:49 +00:00
in6_gif.c Space cleanup 2007-07-05 16:29:40 +00:00
in6_gif.h /* -> /*- for license, minor formatting changes, separate for KAME 2005-01-07 02:30:35 +00:00
in6_ifattach.c ANSIfy[1] plus some style cleanup nearby. 2007-07-05 16:23:49 +00:00
in6_ifattach.h sync with KAME regarding NDP 2005-10-21 16:23:01 +00:00
in6_pcb.c Space cleanup 2007-07-05 16:29:40 +00:00
in6_pcb.h Reduce network stack oddness: implement .pru_sockaddr and .pru_peeraddr 2007-05-11 10:20:51 +00:00
in6_proto.c Space cleanup 2007-07-05 16:29:40 +00:00
in6_rmx.c Space cleanup 2007-07-05 16:29:40 +00:00
in6_src.c Space cleanup 2007-07-05 16:29:40 +00:00
in6_var.h fixed memory leak for IPv6 multicast membership information associated 2007-06-02 08:02:36 +00:00
in6.c Space cleanup 2007-07-05 16:29:40 +00:00
in6.h Restore behavior changed with rev. 1.46 and make 2007-07-19 09:16:40 +00:00
ip6_ecn.h /* -> /*- for license, minor formatting changes, separate for KAME 2005-01-07 02:30:35 +00:00
ip6_forward.c Space cleanup 2007-07-05 16:29:40 +00:00
ip6_id.c ANSIfy[1] plus some style cleanup nearby. 2007-07-05 16:23:49 +00:00
ip6_input.c Space cleanup 2007-07-05 16:29:40 +00:00
ip6_ipsec.c Rename option IPSEC_FILTERGIF to IPSEC_FILTERTUNNEL. 2007-08-05 16:16:15 +00:00
ip6_ipsec.h Rename option IPSEC_FILTERGIF to IPSEC_FILTERTUNNEL. 2007-08-05 16:16:15 +00:00
ip6_mroute.c Space cleanup 2007-07-05 16:29:40 +00:00
ip6_mroute.h Space cleanup 2007-07-05 16:29:40 +00:00
ip6_output.c Space cleanup 2007-07-05 16:29:40 +00:00
ip6_var.h Space cleanup 2007-07-05 16:29:40 +00:00
ip6.h
ip6protosw.h /* -> /*- for license, minor formatting changes, separate for KAME 2005-01-07 02:30:35 +00:00
mld6_var.h sync with KAME regarding NDP 2005-10-21 16:23:01 +00:00
mld6.c Space cleanup 2007-07-05 16:29:40 +00:00
nd6_nbr.c Space cleanup 2007-07-05 16:29:40 +00:00
nd6_rtr.c Space cleanup 2007-07-05 16:29:40 +00:00
nd6.c Space cleanup 2007-07-05 16:29:40 +00:00
nd6.h sync with KAME regarding NDP 2005-10-21 16:23:01 +00:00
pim6_var.h Remove public declarations of variables that were forgotten when they were 2005-08-10 07:10:02 +00:00
pim6.h /* -> /*- for license, minor formatting changes, separate for KAME 2005-01-07 02:30:35 +00:00
raw_ip6.c Space cleanup 2007-07-05 16:29:40 +00:00
raw_ip6.h /* -> /*- for license, minor formatting changes, separate for KAME 2005-01-07 02:30:35 +00:00
route6.c ANSIfy[1] plus some style cleanup nearby. 2007-07-05 16:23:49 +00:00
scope6_var.h scope cleanup. with this change 2005-07-25 12:31:43 +00:00
scope6.c ANSIfy[1] plus some style cleanup nearby. 2007-07-05 16:23:49 +00:00
sctp6_usrreq.c - Fix address add handling to clear cached routes and source addresses 2007-08-24 00:53:53 +00:00
sctp6_var.h Space cleanup 2007-07-05 16:29:40 +00:00
tcp6_var.h /* -> /*- for license, minor formatting changes, separate for KAME 2005-01-07 02:30:35 +00:00
udp6_usrreq.c Continue effort to improve parity between UDPv4 and UDPv6: add a missing 2007-07-27 08:25:02 +00:00
udp6_var.h Continue effort to align UDPv4 and UDPv6 implementations by merging 2007-07-23 07:58:58 +00:00