1. Feb 09, 2013
    • Daniel Borkmann's avatar
      net: sctp: sctp_setsockopt_auth_key: use kzfree instead of kfree · 6ba542a2
      Daniel Borkmann authored
      
      
      In sctp_setsockopt_auth_key, we create a temporary copy of the user
      passed shared auth key for the endpoint or association and after
      internal setup, we free it right away. Since it's sensitive data, we
      should zero out the key before returning the memory back to the
      allocator. Thus, use kzfree instead of kfree, just as we do in
      sctp_auth_key_put().
      
      Signed-off-by: default avatarDaniel Borkmann <dborkman@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6ba542a2
    • Heiko Carstens's avatar
      atm/iphase: rename fregt_t -> ffreg_t · ab54ee80
      Heiko Carstens authored
      
      
      We have conflicting type qualifiers for "freg_t" in s390's ptrace.h and the
      iphase atm device driver, which causes the compile error below.
      Unfortunately the s390 typedef can't be renamed, since it's a user visible api,
      nor can I change the include order in s390 code to avoid the conflict.
      
      So simply rename the iphase typedef to a new name. Fixes this compile error:
      
      In file included from drivers/atm/iphase.c:66:0:
      drivers/atm/iphase.h:639:25: error: conflicting type qualifiers for 'freg_t'
      In file included from next/arch/s390/include/asm/ptrace.h:9:0,
                       from next/arch/s390/include/asm/lowcore.h:12,
                       from next/arch/s390/include/asm/thread_info.h:30,
                       from include/linux/thread_info.h:54,
                       from include/linux/preempt.h:9,
                       from include/linux/spinlock.h:50,
                       from include/linux/seqlock.h:29,
                       from include/linux/time.h:5,
                       from include/linux/stat.h:18,
                       from include/linux/module.h:10,
                       from drivers/atm/iphase.c:43:
      next/arch/s390/include/uapi/asm/ptrace.h:197:3: note: previous declaration of 'freg_t' was here
      
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Acked-by: default avatarchas williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ab54ee80
  2. Feb 08, 2013
  3. Feb 07, 2013
  4. Feb 05, 2013
  5. Feb 04, 2013
  6. Feb 03, 2013
  7. Feb 02, 2013
    • David S. Miller's avatar
      Merge branch 'wireless' · 9165bf27
      David S. Miller authored
      
      
      John W. Linville says:
      
      ====================
      This is a small batch of fixes intended for the 3.8 stream...
      
      There are two pulls from Johannes.  Regarding mac80211, Johannes says:
      
      "One fix from Dan for a possible memory overrun."
      
      Regarding iwlwifi,  Johannes says:
      
      "I have one fix from Emmanuel reverting a previous fix that caused
      more trouble than it's worth."
      
      Along with those:
      
      Arend van Spriel fixes a fatal error in brcsmac related to tx status processing.
      
      Bing Zhao corrects a problem where mwifiex would fail to complete a scan
      in the event of an IE processing error.
      
      Larry Finger fixes a thinko in rtlwifi in which the wrong skb variable
      was being used in some cases.
      
      Rafał Miłecki fixes a thinko in an ID check in the bcma flash code.
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9165bf27
    • John W. Linville's avatar
      Merge branch 'master' of... · ed6882ac
      John W. Linville authored
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
      ed6882ac
  8. Feb 01, 2013