i've seen a commit for this go by already. FYI: +#ifdef _KERNEL # include "opt_ipfilter_log.h" +#endif is not enough. you need to protect against _LKM also, and this file will not exist for lkm's being built. (i'm not sure the fix includes this, i haven't looked at it).