diff options
-rw-r--r-- | net/ipv4/netfilter/ip_conntrack_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_netlink.c b/net/ipv4/netfilter/ip_conntrack_netlink.c index d1dde1417ef7..cfc5487e627a 100644 --- a/net/ipv4/netfilter/ip_conntrack_netlink.c +++ b/net/ipv4/netfilter/ip_conntrack_netlink.c | |||
@@ -593,7 +593,7 @@ static int ctnetlink_parse_nat_proto(struct nfattr *attr, | |||
593 | nfattr_parse_nested(tb, CTA_PROTONAT_MAX, attr); | 593 | nfattr_parse_nested(tb, CTA_PROTONAT_MAX, attr); |
594 | 594 | ||
595 | if (nfattr_bad_size(tb, CTA_PROTONAT_MAX, cta_min_protonat)) | 595 | if (nfattr_bad_size(tb, CTA_PROTONAT_MAX, cta_min_protonat)) |
596 | return -1; | 596 | return -EINVAL; |
597 | 597 | ||
598 | npt = ip_nat_proto_find_get(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum); | 598 | npt = ip_nat_proto_find_get(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum); |
599 | if (!npt) | 599 | if (!npt) |