1. 25 9月, 2005 1 次提交
  2. 22 9月, 2005 1 次提交
  3. 13 9月, 2005 1 次提交
  4. 10 9月, 2005 2 次提交
  5. 07 9月, 2005 3 次提交
    • P
      [NET]: proto_unregister: fix sleeping while atomic · 0a3f4358
      Patrick McHardy 提交于
      proto_unregister holds a lock while calling kmem_cache_destroy, which
      can sleep.
      
      Noticed by Daniele Orlandi <daniele@orlandi.com>.
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0a3f4358
    • J
      [PATCH] WE-19 for kernel 2.6.13 · 6582c164
      Jean Tourrilhes 提交于
      	Hi Jeff,
      
      	This is version 19 of the Wireless Extensions. It was supposed
      to be the fallback of the WPA API changes, but people seem quite happy
      about it (especially Jouni), so the patch is rather small.
      	The patch has been fully tested with 2.6.13 and various
      wireless drivers, and is in its final version. Would you mind pushing
      that into Linus's kernel so that the driver and the apps can take
      advantage ot it ?
      
      	It includes :
      	o iwstat improvement (explicit dBm). This is the result of
      long discussions with Dan Williams, the authors of
      NetworkManager. Thanks to him for all the fruitful feedback.
      	o remove pointer from event stream. I was not totally sure if
      this pointer was 32-64 bits clean, so I'd rather remove it and be at
      peace with it.
      	o remove linux header from wireless.h. This has long been
      requested by people writting user space apps, now it's done, and it
      was not even painful.
      	o final deprecation of spy_offset. You did not like it, it's
      now gone for good.
      	o Start deprecating dev->get_wireless_stats -> debloat netdev
      	o Add "check" version of event macros for ieee802.11
      stack. Jiri Benc doesn't like the current macros, we aim to please ;-)
      	All those changes, except the last one, have been bit-roting on
      my web pages for a while...
      
      	Patches for most kernel drivers will follow. Patches for the
      Orinoco and the HostAP drivers have been sent to their respective
      maintainers.
      
      	Have fun...
      
      	Jean
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      6582c164
    • E
      [NET]: Make sure l_linger is unsigned to avoid negative timeouts · 9261c9b0
      Eric Dumazet 提交于
      One of my x86_64 (linux 2.6.13) server log is filled with :
      
      schedule_timeout: wrong timeout value ffffffffffffff06 from ffffffff802e63ca
      schedule_timeout: wrong timeout value ffffffffffffff06 from ffffffff802e63ca
      schedule_timeout: wrong timeout value ffffffffffffff06 from ffffffff802e63ca
      schedule_timeout: wrong timeout value ffffffffffffff06 from ffffffff802e63ca
      schedule_timeout: wrong timeout value ffffffffffffff06 from ffffffff802e63ca
      
      This is because some application does a
      
      struct linger li;
      li.l_onoff = 1;
      li.l_linger = -1;
      setsockopt(sock, SOL_SOCKET, SO_LINGER, &li, sizeof(li));
      
      And unfortunatly l_linger is defined as a 'signed int' in
      include/linux/socket.h:
      
      struct linger {
               int             l_onoff;        /* Linger active                */
               int             l_linger;       /* How long to linger for       */
      };
      
      I dont know if it's safe to change l_linger to 'unsigned int' in the
      include file (It might be defined as int in ABI specs)
      Signed-off-by: NEric Dumazet <dada1@cosmosbay.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9261c9b0
  6. 06 9月, 2005 3 次提交
  7. 30 8月, 2005 28 次提交
  8. 12 8月, 2005 1 次提交