Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2fd1dc91 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Pablo Neira Ayuso
Browse files

netfilter: Kill unused copies of RCV_SKB_FAIL



This appears to have been a dead macro in both nfnetlink_log.c and
nfnetlink_queue_core.c since these pieces of code were added in 2005.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 230ac490
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -598,8 +598,6 @@ __build_packet_message(struct nfnl_log_net *log,
	return -1;
	return -1;
}
}


#define RCV_SKB_FAIL(err) do { netlink_ack(skb, nlh, (err)); return; } while (0)

static struct nf_loginfo default_loginfo = {
static struct nf_loginfo default_loginfo = {
	.type =		NF_LOG_TYPE_ULOG,
	.type =		NF_LOG_TYPE_ULOG,
	.u = {
	.u = {
+0 −2
Original line number Original line Diff line number Diff line
@@ -834,8 +834,6 @@ nfqnl_dev_drop(struct net *net, int ifindex)
	rcu_read_unlock();
	rcu_read_unlock();
}
}


#define RCV_SKB_FAIL(err) do { netlink_ack(skb, nlh, (err)); return; } while (0)

static int
static int
nfqnl_rcv_dev_event(struct notifier_block *this,
nfqnl_rcv_dev_event(struct notifier_block *this,
		    unsigned long event, void *ptr)
		    unsigned long event, void *ptr)