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

Commit fcda4612 authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso Committed by David S. Miller
Browse files

[NETFILTER] ctnetlink: propagate error instaed of returning -EPERM



Propagate the error to userspace instead of returning -EPERM if the get
conntrack operation fails.

Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarHarald Welte <laforge@netfilter.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fe902a91
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -802,7 +802,7 @@ ctnetlink_get_conntrack(struct sock *ctnl, struct sk_buff *skb,
free:
	kfree_skb(skb2);
out:
	return -1;
	return err;
}

static inline int