From: iaiqwk@granch.com
Date: Mon Feb 23 2004 - 23:19:17 EET
On Mon, Feb 23, 2004 at 07:37:44PM +0100, Jeroen Vreeken wrote:
> AX25_P_NETROM for instance is the PID netrom packets use when encapsulated
> in an ax25 connection.
> When the netrom code is present it indeed registers AF_NETROM, but this is
> for its own socket interface. From that moment on AF_AX25 users should be
> prevented from opening ax25 connections with the netrom PID.
"From that moment on" in this case sounds like a recipe for races.
What happens if connections is opened _before_ insmod netrom? Once
netrom is loaded, we are in the situation you've tried to prevent.
You either need to make insmod netrom fail if there's such open socket
or you have to make netrom survive its presense. Pick one...
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to ouazkq@rele.tunk.net
More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Mon Feb 23 2004 - 23:31:20 EET