1. 14 11月, 2009 2 次提交
    • V
      sctp: Set source addresses on the association before adding transports · 409b95af
      Vlad Yasevich 提交于
      Recent commit 8da645e1
      	sctp: Get rid of an extra routing lookup when adding a transport
      introduced a regression in the connection setup.  The behavior was
      
      different between IPv4 and IPv6.  IPv4 case ended up working because the
      route lookup routing returned a NULL route, which triggered another
      route lookup later in the output patch that succeeded.  In the IPv6 case,
      a valid route was returned for first call, but we could not find a valid
      source address at the time since the source addresses were not set on the
      association yet.  Thus resulted in a hung connection.
      
      The solution is to set the source addresses on the association prior to
      adding peers.
      Signed-off-by: NVlad Yasevich <vladislav.yasevich@hp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      409b95af
    • I
      tcp: provide more information on the tcp receive_queue bugs · d792c100
      Ilpo Järvinen 提交于
      The addition of rcv_nxt allows to discern whether the skb
      was out of place or tp->copied. Also catch fancy combination
      of flags if necessary (sadly we might miss the actual causer
      flags as it might have already returned).
      
      Btw, we perhaps would want to forward copied_seq in
      somewhere or otherwise we might have some nice loop with
      WARN stuff within but where to do that safely I don't
      know at this stage until more is known (but it is not
      made significantly worse by this patch).
      Signed-off-by: NIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d792c100
  2. 11 11月, 2009 11 次提交
  3. 08 11月, 2009 3 次提交
  4. 07 11月, 2009 16 次提交
  5. 06 11月, 2009 5 次提交
  6. 05 11月, 2009 3 次提交