build: resolve compile error with Linux 3.15

Commit v3.15-rc1~141^2~97 changed the signature for cn_netlink_send.
This commit is contained in:
Jan Engelhardt
2014-04-18 19:12:51 +02:00
parent f2e21e67a5
commit 87adf3461f

View File

@@ -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