[PATCH] second set for 2.6.0-test1

From: Jeroen Vreeken (zyk.nlcyks@cti.gr)
Date: Thu Jul 24 2003 - 22:27:11 EEST

  • Next message: Hans-Joachim Hetscher: "[PATCH] 2.5.75 6PACK"

    Hi,

    This is my second set of patches against 2.6.0-test1 to go addition to the
    first set.
    (some of the first changes are slightly modified i.e. the refcounting is
    moved to the header file).
    The biggest change is in netrom, it adds a lot of locking and refcounting
    to nr_node and nr_neigh handling.

    Changes:

            -Add ax25_cb_put() calls to netrom
            -Initialize ax25_iface lists to NULL
            -unlock linkfail_lock in ax25_linkfail_release()
            -unlock listen_lock in ax25_listen_release()
            -unlock_listen_lock in ax25_listen_mine()
            -remove module_owner from nr_init()
            -Only release/register listener in nr_set_mac_address() if
             interface is up.
            -Call nr_destroy_socket() with socket locked
            -Free write queue in nr_destroy_socket()
            -Add missing sock_[unlock/release] calls in netrom code
            -nr_destroy_tmer set from 10*HZ to 2*HZ
            -Fixed net_device refcounting to nr_dev_first() and nr_dev_get()
            -Added nr_node & nr_neigh refcounting
            -Use hlists for nr_node_list and nr_neigh_list
            -Added nr_node locking
            -Prevent race between freeing dev.priv and freeing dev
            -Don't free dev.name on module exit
            -Fix error return value from ax25_connect()
            -Missing unlock in ax25_register_sysctl()
            -nr_route_frame() makes a private copy of skb's instead of using
             the one given, it also reserves head room using hard_header_len
             from the device the packet goes out removing the need for
             AX25_BPQ_HEADER_LEN
            -Make ax25_cb refcounting inlined or macro.
            -Additional locking in ax25

    Jeroen



    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to udtq.gvhisvm@mailit.tunk.net
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Thu Jul 24 2003 - 22:28:53 EEST