Re: [PATCH] ax25_cb refcounting & waitqueue usage

From: Jeroen Vreeken (rgtxyljw.azoawg@machlink.com)
Date: Wed Jul 09 2003 - 20:06:36 EEST

  • Next message: Arno Verhoeven: "Re: Request change ???"

    Hi,

    This is a new patch to replace my first one...
    (Anybody on this list should know by now that I always send at least two
    versions of each patch ;)

    It does the following things:
    -fixes waitqueue oops on interrupted socket call
    -Adds refcounting to the ax25_cb struct with two new functions:
     ax25_cb_hold() and ax25_cb_put()
    -skb allocation uses dev->hard_header_len instead of some predicted worst
    case.
    -The ax25_cb list uses hlists

    The biggest change is the hlist one combined with the refcounting.
    This makes ax25 look somewhat like the other network stack as Arnaldo
    sugested.

    Jeroen


    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to aweifi@rmsatl.com
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Wed Jul 09 2003 - 20:02:24 EEST