Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16229
b: refs/heads/master
c: d4d6bb4
h: refs/heads/master
i:
  16227: 8a10dd8
v: v3
  • Loading branch information
Pablo Neira Ayuso authored and David S. Miller committed Jan 5, 2006
1 parent 9a40bdb commit 56cd96e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 0368309cb45bbba99f84a01d5fc6a18780788480
refs/heads/master: d4d6bb41e09f07668ca2655da707eab936e8e8f0
10 changes: 5 additions & 5 deletions trunk/net/ipv4/netfilter/ip_conntrack_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,11 @@ ctnetlink_create_conntrack(struct nfattr *cda[],
return err;
}

#if defined(CONFIG_IP_NF_CONNTRACK_MARK)
if (cda[CTA_MARK-1])
ct->mark = ntohl(*(u_int32_t *)NFA_DATA(cda[CTA_MARK-1]));
#endif

ct->helper = ip_conntrack_helper_find_get(rtuple);

add_timer(&ct->timeout);
Expand All @@ -1039,11 +1044,6 @@ ctnetlink_create_conntrack(struct nfattr *cda[],
if (ct->helper)
ip_conntrack_helper_put(ct->helper);

#if defined(CONFIG_IP_NF_CONNTRACK_MARK)
if (cda[CTA_MARK-1])
ct->mark = ntohl(*(u_int32_t *)NFA_DATA(cda[CTA_MARK-1]));
#endif

DEBUGP("conntrack with id %u inserted\n", ct->id);
return 0;

Expand Down

0 comments on commit 56cd96e

Please sign in to comment.