aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/netfilter/ip_conntrack_netlink.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_netlink.c b/net/ipv4/netfilter/ip_conntrack_netlink.c
index df04ad873cc2..703f2d2e3464 100644
--- a/net/ipv4/netfilter/ip_conntrack_netlink.c
+++ b/net/ipv4/netfilter/ip_conntrack_netlink.c
@@ -1203,7 +1203,6 @@ static int ctnetlink_expect_event(struct notifier_block *this,
1203 unsigned int type; 1203 unsigned int type;
1204 unsigned char *b; 1204 unsigned char *b;
1205 int flags = 0; 1205 int flags = 0;
1206 u16 proto;
1207 1206
1208 if (events & IPEXP_NEW) { 1207 if (events & IPEXP_NEW) {
1209 type = IPCTNL_MSG_EXP_NEW; 1208 type = IPCTNL_MSG_EXP_NEW;
@@ -1230,7 +1229,6 @@ static int ctnetlink_expect_event(struct notifier_block *this,
1230 goto nfattr_failure; 1229 goto nfattr_failure;
1231 1230
1232 nlh->nlmsg_len = skb->tail - b; 1231 nlh->nlmsg_len = skb->tail - b;
1233 proto = exp->tuple.dst.protonum;
1234 nfnetlink_send(skb, 0, NFNLGRP_CONNTRACK_EXP_NEW, 0); 1232 nfnetlink_send(skb, 0, NFNLGRP_CONNTRACK_EXP_NEW, 0);
1235 return NOTIFY_DONE; 1233 return NOTIFY_DONE;
1236 1234