Skip to content

Commit d16cf20

Browse files
committed
netfilter: remove ip_queue support
This patch removes ip_queue support which was marked as obsolete years ago. The nfnetlink_queue modules provides more advanced user-space packet queueing mechanism. This patch also removes capability code included in SELinux that refers to ip_queue. Otherwise, we break compilation. Several warning has been sent regarding this to the mailing list in the past month without anyone rising the hand to stop this with some strong argument. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
1 parent 6714cf5 commit d16cf20

10 files changed

Lines changed: 10 additions & 1393 deletions

File tree

‎Documentation/ABI/removed/ip_queue‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
What: ip_queue
2+
Date: finally removed in kernel v3.5.0
3+
Contact: Pablo Neira Ayuso <pablo@netfilter.org>
4+
Description:
5+
ip_queue has been replaced by nfnetlink_queue which provides
6+
more advanced queueing mechanism to user-space. The ip_queue
7+
module was already announced to become obsolete years ago.
8+
9+
Users:

‎include/linux/netfilter_ipv4/Kbuild‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
header-y += ip_queue.h
21
header-y += ip_tables.h
32
header-y += ipt_CLUSTERIP.h
43
header-y += ipt_ECN.h

‎include/linux/netfilter_ipv4/ip_queue.h‎

Lines changed: 0 additions & 72 deletions
This file was deleted.

‎include/linux/netlink.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#define NETLINK_ROUTE 0 /* Routing/device hook */
88
#define NETLINK_UNUSED 1 /* Unused number */
99
#define NETLINK_USERSOCK 2 /* Reserved for user mode socket protocols */
10-
#define NETLINK_FIREWALL 3 /* Firewalling hook */
10+
#define NETLINK_FIREWALL 3 /* Unused number, formerly ip_queue */
1111
#define NETLINK_SOCK_DIAG 4 /* socket monitoring */
1212
#define NETLINK_NFLOG 5 /* netfilter/iptables ULOG */
1313
#define NETLINK_XFRM 6 /* ipsec */

‎net/ipv4/netfilter/Makefile‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,3 @@ obj-$(CONFIG_IP_NF_ARP_MANGLE) += arpt_mangle.o
6666

6767
# just filtering instance of ARP tables for now
6868
obj-$(CONFIG_IP_NF_ARPFILTER) += arptable_filter.o
69-
70-
obj-$(CONFIG_IP_NF_QUEUE) += ip_queue.o
71-

0 commit comments

Comments
 (0)