dnsmasq: speed up the dhcp server detection (one try is enough)
[openwrt.git] / package / aodv-uu / patches / 003-linux_2.6.19_security_netlink_recv_change.patch
1 diff -ruN aodv-uu-0.9.3-old/lnx/kaodv-netlink.c aodv-uu-0.9.3-new/lnx/kaodv-netlink.c
2 --- aodv-uu-0.9.3-old/lnx/kaodv-netlink.c 2006-09-20 19:58:38.000000000 +0200
3 +++ aodv-uu-0.9.3-new/lnx/kaodv-netlink.c 2006-12-16 22:14:14.000000000 +0100
4 @@ -284,7 +284,11 @@
5 /* RCV_SKB_FAIL(-EINVAL); */
6
7 #ifdef KERNEL26
8 +# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
9 + if (security_netlink_recv(skb, CAP_NET_ADMIN))
10 +# else
11 if (security_netlink_recv(skb))
12 +# endif
13 RCV_SKB_FAIL(-EPERM);
14 #endif
15 //write_lock_bh(&queue_lock);
This page took 0.042725 seconds and 5 git commands to generate.