1. 22 Nov, 2008 38 commits
  2. 21 Nov, 2008 2 commits
    • Eric Dumazet's avatar
      net: use net_eq() in INET_MATCH and INET_TW_MATCH · f757fec4
      Eric Dumazet authored
      We can avoid some useless instructions if !CONFIG_NET_NS
      
      Because of RCU, we use INET_MATCH or INET_TW_MATCH twice for the found
      socket, so thats six instructions less per incoming TCP packet.
      
      Yet another tbench speedup :)
      Signed-off-by: default avatarEric Dumazet <dada1@cosmosbay.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f757fec4
    • Rami Rosen's avatar
      wireless: missing include in lib80211.h · a1eb5fe3
      Rami Rosen authored
      This patch adds #include <linux/timer.h> in lib80211.h to avoid
      these compilation erros.
      
      > In file included from /work/src/wireless-testing/net/wireless/lib80211.c:24:
      > /work/src/wireless-testing/include/net/lib80211.h:113: error: field
      > 'crypt_deinit_timer' has incomplete type
      > /work/src/wireless-testing/net/wireless/lib80211.c: In function
      > 'lib80211_crypt_info_init':
      > /work/src/wireless-testing/net/wireless/lib80211.c:83: error: implicit
      > declaration of function 'setup_timer'
      > /work/src/wireless-testing/net/wireless/lib80211.c: In function
      > 'lib80211_crypt_info_free':
      > /work/src/wireless-testing/net/wireless/lib80211.c:95: error: implicit
      > declaration of function 'del_timer_sync'
      > /work/src/wireless-testing/net/wireless/lib80211.c: In function
      > 'lib80211_crypt_deinit_handler':
      > /work/src/wireless-testing/net/wireless/lib80211.c:157: error:
      > implicit declaration of function 'add_timer'
      > /work/src/wireless-testing/net/wireless/lib80211.c: In function
      > 'lib80211_crypt_delayed_deinit':
      > /work/src/wireless-testing/net/wireless/lib80211.c:182: error:
      > implicit declaration of function 'timer_pending'
      > make[3]: *** [net/wireless/lib80211.o] Error 1
      > make[2]: *** [net/wireless] Error 2
      > make[1]: *** [net] Error 2
      > make: *** [sub-make] Error 2
      Signed-off-by: default avatarRami Rosen <ramirose@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      a1eb5fe3