diff --git a/extensions/pknock/xt_pknock.c b/extensions/pknock/xt_pknock.c index cb110ee..f754568 100644 --- a/extensions/pknock/xt_pknock.c +++ b/extensions/pknock/xt_pknock.c @@ -701,7 +701,11 @@ msg_to_userspace_nl(const struct xt_pknock_mtinfo *info, memcpy(m + 1, &msg, m->len); +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0) + cn_netlink_send(m, 0, multicast_group, GFP_ATOMIC); +#else cn_netlink_send(m, multicast_group, GFP_ATOMIC); +#endif kfree(m); #endif