1. 12 Jun, 2012 4 commits
  2. 11 Jun, 2012 9 commits
  3. 10 Jun, 2012 1 commit
    • Paul Pluzhnikov's avatar
      net: Make linux/tcp.h C++ friendly (trivial) · 8876d6b5
      Paul Pluzhnikov authored
      I originally sent this patch to <trivial@kernel.org>, but Jiri Kosina did
      not feel that this is fully appropriate for the trivial tree.
      
      Using linux/tcp.h from C++ results in:
      
      cat t.cc
      #include <linux/tcp.h>
      int main() { }
      
      g++ -c t.cc
      
      In file included from t.cc:1:
      /usr/include/linux/tcp.h:72: error: '__u32 __fswab32(__u32)' cannot appear in a constant-expression
      /usr/include/linux/tcp.h:72: error: a function call cannot appear in a constant-expression
      ...
      
      Attached trivial patch fixes this problem.
      
      Tested:
      - the t.cc above compiles with g++ and
      - the following program generates the same output before/after
        the patch:
      
      #include <linux/tcp.h>
      #include <stdio.h>
      
      int main ()
      {
      #define P(a) printf("%s: %08x\n", #a, (int)a)
       P(TCP_FLAG_CWR);
       P(TCP_FLAG_ECE);
       P(TCP_FLAG_URG);
       P(TCP_FLAG_ACK);
       P(TCP_FLAG_PSH);
       P(TCP_FLAG_RST);
       P(TCP_FLAG_SYN);
       P(TCP_FLAG_FIN);
       P(TCP_RESERVED_BITS);
       P(TCP_DATA_OFFSET);
      #undef P
       return 0;
      }
      Signed-off-by: default avatarPaul Pluzhnikov <ppluzhnikov@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8876d6b5
  4. 09 Jun, 2012 2 commits
  5. 08 Jun, 2012 15 commits
  6. 07 Jun, 2012 8 commits
  7. 06 Jun, 2012 1 commit
    • David S. Miller's avatar
      Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless · da2e8526
      David S. Miller authored
      John Linville says:
      ====================
      Amitkumar Karwar gives us a cfg80211 fix that changes some state
      tracking in order to avoid a WARNING.
      
      Arik Nemtsov provide a mac80211 fix for an RCU-related race.
      
      Avinash Patil shares a pair of mwifiex fixes, one which invalidates
      some stale configuration data before a channel change and another to
      restrict hidden SSID support to zero-length SSIDs only.
      
      Chun-Yeow Yeoh brings a mac80211 fix for a mesh problem triggered
      when combining multiple mesh networks into one.
      
      Felix Fietkau provides a mac80211 lockdep fix.
      
      Joe Perches fixes a couple of thinkos related to bitwise operations.
      
      Johannes Berg comes through with a flurry of fixes.  The iwlwifi ones
      address a problem Linus recently reported, and some of the fallout
      discovered while fixing it.  The mac80211 fix properly cleans-up
      remain-on-channel work on an interface that is stopped.  The others
      are clean-ups for regressions caused by stricter checking of possible
      virtual interfaces supported by wireless drivers.
      
      Meenakshi Venkataraman provides a mac80211 fix for an off-by-one error.
      
      Seth Forshee provides a fix to make the wireless adapters used in
      some Mac boxes work after being in S3 power saving state.
      
      Stanislaw Gruszka offers a copule of fixes, a fix for a mac80211
      scanning regression and an rt2x00 fix to avoid some lockdep spew.
      
      Last but not least, Vinicius Costa Gomes provides a bluetooth fix
      for a typo that "was preventing important features of Bluetooth
      from working".
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      da2e8526