1. 28 5月, 2005 1 次提交
  2. 27 5月, 2005 6 次提交
  3. 24 5月, 2005 2 次提交
  4. 20 5月, 2005 8 次提交
  5. 19 5月, 2005 2 次提交
    • H
      [IPV4/IPV6] Ensure all frag_list members have NULL sk · 2fdba6b0
      Herbert Xu 提交于
      Having frag_list members which holds wmem of an sk leads to nightmares
      with partially cloned frag skb's.  The reason is that once you unleash
      a skb with a frag_list that has individual sk ownerships into the stack
      you can never undo those ownerships safely as they may have been cloned
      by things like netfilter.  Since we have to undo them in order to make
      skb_linearize happy this approach leads to a dead-end.
      
      So let's go the other way and make this an invariant:
      
      	For any skb on a frag_list, skb->sk must be NULL.
      
      That is, the socket ownership always belongs to the head skb.
      It turns out that the implementation is actually pretty simple.
      
      The above invariant is actually violated in the following patch
      for a short duration inside ip_fragment.  This is OK because the
      offending frag_list member is either destroyed at the end of the
      slow path without being sent anywhere, or it is detached from
      the frag_list before being sent.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2fdba6b0
    • E
      [XFRM]: skb_cow_data() does not set proper owner for new skbs. · d4810200
      Evgeniy Polyakov 提交于
      It looks like skb_cow_data() does not set 
      proper owner for newly created skb.
      
      If we have several fragments for skb and some of them
      are shared(?) or cloned (like in async IPsec) there 
      might be a situation when we require recreating skb and 
      thus using skb_copy() for it.
      Newly created skb has neither a destructor nor a socket
      assotiated with it, which must be copied from the old skb.
      As far as I can see, current code sets destructor and socket
      for the first one skb only and uses truesize of the first skb
      only to increment sk_wmem_alloc value.
      
      If above "analysis" is correct then attached patch fixes that.
      Signed-off-by: NEvgeniy Polyakov <johnpol@2ka.mipt.ru>
      Acked-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d4810200
  6. 16 5月, 2005 1 次提交
  7. 13 5月, 2005 2 次提交
    • J
      [NET] ieee80211 subsystem · b453872c
      Jeff Garzik 提交于
      Contributors:
      Host AP contributors
      James Ketrenos <jketreno@linux.intel.com>
      Francois Romieu <romieu@fr.zoreil.com>
      Adrian Bunk <bunk@stusta.de>
      Matthew Galgoci <mgalgoci@parcelfarce.linux.th
      eplanet.co.uk>
      b453872c
    • [PATCH] Wireless Extensions 18 (aka WPA) · fff9cfd9
      提交于
        
              This is version 18 of the Wireless Extensions. The main change
        is that it adds all the necessary APIs for WPA and WPA2 support. This
        work was entirely done by Jouni Malinen, so let's thank him for both
        his hard work and deep expertise on the subject ;-)
              This APIs obviously doesn't do much by itself and works in
        concert with driver support (Jouni already sent you the HostAP
        changes) and userspace (Jouni is updating wpa_supplicant). This is
        also orthogonal with the ongoing work on in-kernel IEEE support (but
        potentially useful).
              The patch is attached, tested with 2.6.11. Normally, I would
        ask you to push that directly in the kernel (99% of the patch has been
        on my web page for ages and it does not affect non-WPA stuff), but
        Jouni convinced me that it should bake a few weeks in wireless-2.6
        first, so that other driver maintainers can get up to speed with it.
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      fff9cfd9
  8. 06 5月, 2005 5 次提交
  9. 04 5月, 2005 13 次提交