Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6258
b: refs/heads/master
c: 94cd2b6
h: refs/heads/master
v: v3
  • Loading branch information
Pablo Neira authored and David S. Miller committed Aug 29, 2005
1 parent 53ce478 commit ff356a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a86888b925299330053d20e0eba03ac4d2648c4b
refs/heads/master: 94cd2b67641e7ddc2e6ed71d76e00116957423db
8 changes: 0 additions & 8 deletions trunk/net/ipv4/netfilter/ip_conntrack_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,6 @@ ctnetlink_parse_tuple_ip(struct nfattr *attr, struct ip_conntrack_tuple *tuple)

DEBUGP("entered %s\n", __FUNCTION__);

memset(tb, 0, CTA_IP_MAX * sizeof(tb));

if (nfattr_parse_nested(tb, CTA_IP_MAX, attr) < 0)
goto nfattr_failure;
Expand Down Expand Up @@ -522,8 +521,6 @@ ctnetlink_parse_tuple_proto(struct nfattr *attr,

DEBUGP("entered %s\n", __FUNCTION__);

memset(tb, 0, CTA_PROTO_MAX * sizeof(tb));

if (nfattr_parse_nested(tb, CTA_PROTO_MAX, attr) < 0)
goto nfattr_failure;

Expand Down Expand Up @@ -556,7 +553,6 @@ ctnetlink_parse_tuple(struct nfattr *cda[], struct ip_conntrack_tuple *tuple,

DEBUGP("entered %s\n", __FUNCTION__);

memset(tb, 0, CTA_TUPLE_MAX * sizeof(tb));
memset(tuple, 0, sizeof(*tuple));

if (nfattr_parse_nested(tb, CTA_TUPLE_MAX, cda[type-1]) < 0)
Expand Down Expand Up @@ -607,8 +603,6 @@ static int ctnetlink_parse_nat_proto(struct nfattr *attr,

DEBUGP("entered %s\n", __FUNCTION__);

memset(tb, 0, CTA_PROTONAT_MAX * sizeof(tb));

if (nfattr_parse_nested(tb, CTA_PROTONAT_MAX, attr) < 0)
goto nfattr_failure;

Expand Down Expand Up @@ -646,7 +640,6 @@ ctnetlink_parse_nat(struct nfattr *cda[],

DEBUGP("entered %s\n", __FUNCTION__);

memset(tb, 0, CTA_NAT_MAX * sizeof(tb));
memset(range, 0, sizeof(*range));

if (nfattr_parse_nested(tb, CTA_NAT_MAX, cda[CTA_NAT-1]) < 0)
Expand Down Expand Up @@ -684,7 +677,6 @@ ctnetlink_parse_help(struct nfattr *attr, char **helper_name)
struct nfattr *tb[CTA_HELP_MAX];

DEBUGP("entered %s\n", __FUNCTION__);
memset(tb, 0, CTA_HELP_MAX * sizeof(tb));

if (nfattr_parse_nested(tb, CTA_HELP_MAX, attr) < 0)
goto nfattr_failure;
Expand Down

0 comments on commit ff356a7

Please sign in to comment.