1. 13 2月, 2008 1 次提交
    • J
      [AX25] ax25_route: make ax25_route_lock BH safe · 4de211f1
      Jarek Poplawski 提交于
      > =================================
      > [ INFO: inconsistent lock state ]
      > 2.6.24-dg8ngn-p02 #1
      > ---------------------------------
      > inconsistent {softirq-on-W} -> {in-softirq-R} usage.
      > linuxnet/3046 [HC0[0]:SC1[2]:HE1:SE0] takes:
      >  (ax25_route_lock){--.+}, at: [<f8a0cfb7>] ax25_get_route+0x18/0xb7 [ax25]
      > {softirq-on-W} state was registered at:
      ...
      
      This lockdep report shows that ax25_route_lock is taken for reading in
      softirq context, and for writing in process context with BHs enabled.
      So, to make this safe, all write_locks in ax25_route.c are changed to
      _bh versions.
      
      Reported-by: Jann Traschewski <jann@gmx.de>,
      Signed-off-by: NJarek Poplawski <jarkao2@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4de211f1
  2. 29 1月, 2008 1 次提交
    • E
      [AX25]: sparse cleanups · f16f3026
      Eric Dumazet 提交于
      net/ax25/ax25_route.c:251:13: warning: context imbalance in
      'ax25_rt_seq_start' - wrong count at exit
      net/ax25/ax25_route.c:276:13: warning: context imbalance in 'ax25_rt_seq_stop'
      - unexpected unlock
      net/ax25/ax25_std_timer.c:65:25: warning: expensive signed divide
      net/ax25/ax25_uid.c:46:1: warning: symbol 'ax25_uid_list' was not declared.
      Should it be static?
      net/ax25/ax25_uid.c:146:13: warning: context imbalance in 'ax25_uid_seq_start'
      - wrong count at exit
      net/ax25/ax25_uid.c:169:13: warning: context imbalance in 'ax25_uid_seq_stop'
      - unexpected unlock
      net/ax25/af_ax25.c:573:28: warning: expensive signed divide
      net/ax25/af_ax25.c:1865:13: warning: context imbalance in 'ax25_info_start' -
      wrong count at exit
      net/ax25/af_ax25.c:1888:13: warning: context imbalance in 'ax25_info_stop' -
      unexpected unlock
      net/ax25/ax25_ds_timer.c:133:25: warning: expensive signed divide
      Signed-off-by: NEric Dumazet <dada1@cosmosbay.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f16f3026
  3. 11 7月, 2007 1 次提交
  4. 13 2月, 2007 1 次提交
  5. 11 2月, 2007 1 次提交
  6. 18 12月, 2006 1 次提交
  7. 03 12月, 2006 1 次提交
    • A
      [AX25]: Use kmemdup · 0459d70a
      Arnaldo Carvalho de Melo 提交于
      Code diff stats:
      
      [acme@newtoy net-2.6.20]$ codiff /tmp/ax25.ko.before /tmp/ax25.ko.after
      /pub/scm/linux/kernel/git/acme/net-2.6.20/net/ax25/ax25_out.c:
        ax25_send_frame |   -8
       1 function changed, 8 bytes removed
      
      /pub/scm/linux/kernel/git/acme/net-2.6.20/net/ax25/ax25_route.c:
        ax25_rt_autobind |  -15
       1 function changed, 15 bytes removed
      
      /pub/scm/linux/kernel/git/acme/net-2.6.20/net/ax25/af_ax25.c:
        ax25_make_new |  -33
       1 function changed, 33 bytes removed
      
      /pub/scm/linux/kernel/git/acme/net-2.6.20/net/ax25/sysctl_net_ax25.c:
        ax25_register_sysctl |  -21
       1 function changed, 21 bytes removed
      
      /tmp/ax25.ko.after:
       4 functions changed, 77 bytes removed
      [acme@newtoy net-2.6.20]$
      Signed-off-by: NArnaldo Carvalho de Melo <acme@mandriva.com>
      0459d70a
  8. 04 7月, 2006 1 次提交
  9. 04 5月, 2006 1 次提交
  10. 12 1月, 2006 1 次提交
  11. 09 11月, 2005 1 次提交
  12. 07 9月, 2005 1 次提交
  13. 24 8月, 2005 1 次提交
    • R
      [AX25]: UID fixes · 01d7dd0e
      Ralf Baechle 提交于
       o Brown paperbag bug - ax25_findbyuid() was always returning a NULL pointer
         as the result.  Breaks ROSE completly and AX.25 if UID policy set to deny.
      
       o While the list structure of AX.25's UID to callsign mapping table was
         properly protected by a spinlock, it's elements were not refcounted
         resulting in a race between removal and usage of an element.
      Signed-off-by: NRalf Baechle DL5RB <ralf@linux-mips.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      01d7dd0e
  14. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4