[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120814.165223.953955272458502981.davem@davemloft.net>
Date: Tue, 14 Aug 2012 16:52:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ben@...adent.org.uk
Cc: acme@...stprotocols.net, netdev@...r.kernel.org
Subject: Re: [PATCH net 2/3] llc2: Call llc_station_exit() on llc2_init()
failure path
From: Ben Hutchings <ben@...adent.org.uk>
Date: Mon, 13 Aug 2012 13:50:43 +0100
> Otherwise the station packet handler will remain registered even though
> the module is unloaded.
>
> Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
This will cause section mismatch errors, you'll need to remove
the __exit tag from llc_station_exit() if you want to start
invoking it from llc2_init() which is __init.
I took care of this when applying this patch to 'net'.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists