31 May, 2007

2 commits


09 May, 2007

1 commit


04 May, 2007

1 commit

  • Cleanup of dev_base list use, with the aim to simplify making device
    list per-namespace. In almost every occasion, use of dev_base variable
    and dev->next pointer could be easily replaced by for_each_netdev
    loop. A few most complicated places were converted to using
    first_netdev()/next_netdev().

    Signed-off-by: Pavel Emelianov
    Acked-by: Kirill Korotaev
    Signed-off-by: David S. Miller

    Pavel Emelianov
     

03 May, 2007

1 commit


26 Apr, 2007

32 commits


18 Apr, 2007

1 commit

  • compare_ether_addr() implicitly requires that the addresses
    passed are 2-bytes aligned in memory.

    This is not true for br_stp_change_bridge_id() and
    br_stp_recalculate_bridge_id() in which one of the addresses
    is unsigned char *, and thus may not be 2-bytes aligned.

    Signed-off-by: Evgeny Kravtsunov
    Signed-off-by: Kirill Korotaev
    Signed-off-by: Pavel Emelianov

    Evgeny Kravtsunov
     

23 Mar, 2007

2 commits

  • Turning up the warnings on gcc makes it emit warnings
    about the placement of 'inline' in function declarations.
    Here's everything that was under net/

    Signed-off-by: Dave Jones
    Signed-off-by: David S. Miller

    Dave Jones
     
  • br_fdb_get use atomic_inc to increase the refcount of an element found
    on a RCU protected list, which can lead to the following race:

    CPU0 CPU1

    br_fdb_get: rcu_read_lock
    __br_fdb_get: find element
    fdb_delete: hlist_del_rcu
    br_fdb_put
    br_fdb_put: atomic_dec_and_test
    call_rcu(fdb_rcu_free) br_fdb_get: atomic_inc
    rcu_read_unlock
    fdb_rcu_free: kmem_cache_free

    Use atomic_inc_not_zero instead.

    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Patrick McHardy