1. 31 3月, 2011 1 次提交
  2. 09 2月, 2011 1 次提交
    • D
      net/caif: Fix dangling list pointer in freed object on error. · b2df5a84
      David S. Miller 提交于
      rtnl_link_ops->setup(), and the "setup" callback passed to alloc_netdev*(),
      cannot make state changes which need to be undone on failure.  There is
      no cleanup mechanism available at this point.
      
      So we have to add the caif private instance to the global list once we
      are sure that register_netdev() has succedded in ->newlink().
      
      Otherwise, if register_netdev() fails, the caller will invoke free_netdev()
      and we will have a reference to freed up memory on the chnl_net_list.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b2df5a84
  3. 20 1月, 2011 1 次提交
  4. 16 1月, 2011 1 次提交
  5. 11 1月, 2011 2 次提交
  6. 23 11月, 2010 1 次提交
  7. 04 11月, 2010 2 次提交
  8. 06 10月, 2010 1 次提交
  9. 05 10月, 2010 1 次提交
  10. 22 9月, 2010 4 次提交
  11. 07 9月, 2010 2 次提交
  12. 27 8月, 2010 1 次提交
    • J
      net/caif/cfrfml.c: use asm/unaligned.h · 7e368739
      Jeff Mahoney 提交于
      caif does not build on ia64 starting with 2.6.32-rc1.  Using
      asm/unaligned.h instead of linux/unaligned/le_byteshift.h fixes the issue.
      
      include/linux/unaligned/le_byteshift.h:40:50: error: redefinition of 'get_unaligned_le16'
      include/linux/unaligned/le_byteshift.h:45:50: error: redefinition of 'get_unaligned_le32'
      include/linux/unaligned/le_byteshift.h:50:50: error: redefinition of 'get_unaligned_le64'
      include/linux/unaligned/le_byteshift.h:55:51: error: redefinition of 'put_unaligned_le16'
      include/linux/unaligned/le_byteshift.h:60:51: error: redefinition of 'put_unaligned_le32'
      include/linux/unaligned/le_byteshift.h:65:51: error: redefinition of 'put_unaligned_le64'
      include/linux/unaligned/le_struct.h:31:51: note: previous definition of 'put_unaligned_le64' was here
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7e368739
  13. 11 8月, 2010 1 次提交
  14. 23 7月, 2010 1 次提交
  15. 29 6月, 2010 1 次提交
  16. 21 6月, 2010 4 次提交
  17. 10 6月, 2010 1 次提交
  18. 31 5月, 2010 2 次提交
  19. 29 5月, 2010 1 次提交
  20. 24 5月, 2010 7 次提交
  21. 18 5月, 2010 2 次提交
  22. 29 4月, 2010 2 次提交