2.6.28(.1) and netlink: scheduling while atomic

From: KÃvesdi GyÃrgy
Date: Wed Jan 21 2009 - 04:39:47 EST


Hi,

The new netlink interface allows to add NAT directly to a conntrack entry.
If it is used when the moudule nf-nat-ipv4 is not loaded in, it results in
crash:
BUG: scheduling while atomic
It is in the kernels 2.6.28 and 2.6.28.1 in the function
ctnetlink_parse_nat_setup(): it calls request_module() which causes the
problem. If the module is already loaded, then there is no problem.

Regards:
K. Gy.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/