On Fri, Sep 03, 2004 at 03:52:13AM +0200, Patrick McHardy wrote: > Phil Oester wrote: > > >Some useless __MOD_INC_USE_COUNT macros make rpc patch panic on boot. > >The below removes them. Boot tested. > > Applied, but wondering on second thought. There are still two > __MOD_DEC_USE_COUNT left, and __MOD_INC_USE_COUNT does actually > do something :) Why are they useless ? Yes, perhaps 'useless' is the wrong word -- they do something, but something which is deprecated and in 2.6 netfilter nonexistent. And following davem's policy of no refcounts for network drivers [1], it seems to make sense. Agreed, however, that removing the INC without also removing the DEC is sloppy. Attached find a patch to do so. Phil [1] http://www.uwsg.iu.edu/hypermail/linux/kernel/0307.3/0403.html