[PATCH] ax25_cb refcounting & waitqueue usage

From: Jeroen Vreeken (lubyvfx@labvolt.ca)
Date: Sun Jul 06 2003 - 20:27:34 EEST

  • Next message: Tomi Manninen: "Re: Demise of AX.25 raw sockets"

    Hi,

    Second patch for this weekend...
    This patch does two things, it adds reference counting to the ax25_cb
    structure (until now only the ax25_cb list was protected, not the parts
    using it) and it fixes an oops on interrupted socket syscalls. (e.g.
    pressing Ctrl-C while in the connect function) The waitqueue was not
    removed from the list and caused an oops in the socket release.

    I have had only a quick look at Steven's patch but I don't think the two
    will clash...

    Jeroen



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



    This archive was generated by hypermail 2b30 : Sun Jul 06 2003 - 20:23:10 EEST