Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13640
b: refs/heads/master
c: 51df784
h: refs/heads/master
v: v3
  • Loading branch information
Pablo Neira Ayuso authored and David S. Miller committed Nov 9, 2005
1 parent 78fd27f commit fcfbdc5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a2506c04322ca266fe2f9bd7d02a67b1972da611
refs/heads/master: 51df784ed739246a3774b300e5f536e17bec36ed
5 changes: 5 additions & 0 deletions trunk/net/ipv4/netfilter/ip_conntrack_proto_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,11 @@ static int nfattr_to_tcp(struct nfattr *cda[], struct ip_conntrack *ct)
struct nfattr *attr = cda[CTA_PROTOINFO_TCP-1];
struct nfattr *tb[CTA_PROTOINFO_TCP_MAX];

/* updates could not contain anything about the private
* protocol info, in that case skip the parsing */
if (!attr)
return 0;

nfattr_parse_nested(tb, CTA_PROTOINFO_TCP_MAX, attr);

if (!tb[CTA_PROTOINFO_TCP_STATE-1])
Expand Down

0 comments on commit fcfbdc5

Please sign in to comment.