Re: [PATCH net 2/3] llc2: Call llc_station_exit() on llc2_init() failure path
From: David Miller <davem@davemloft.net> Date: 2012-08-14 23:52:24
From: Ben Hutchings <redacted>
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 <redacted>
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'.