Messages in this thread | | | Date | Wed, 18 Apr 2007 17:06:36 -0700 (PDT) | Subject | Re: [NETLINK] Don't attach callback to a going-away netlink socket | From | David Miller <> |
| |
From: Pavel Emelianov <xemul@sw.ru> Date: Wed, 18 Apr 2007 12:16:18 +0400
> The proposal it to make sock_orphan before detaching the callback > in netlink_release() and to check for the sock to be SOCK_DEAD in > netlink_dump_start() before setting a new callback.
As discussed in this thread there might be other ways to a approach this, but this fix is good for now.
Patch applied, thank you. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |