aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-03-09 16:55:05 -0500
committerSimon Horman <horms@verge.net.au>2011-03-14 20:36:49 -0400
commit06b69390a652bfe4fa7e18e27c938e75ffe86ba0 (patch)
tree8231ad9732e93b53ef6d90f9726f1a277b5c6d7c /include/net
parent6060c74a3de8ed142c78133e2829e74711f77387 (diff)
IPVS: Fix variable assignment in ip_vs_notrack
There's no sense to 'ct = ct = ' in ip_vs_notrack(). Just assign nf_ct_get()'s return value directly to the pointer variable 'ct' once. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ip_vs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index e74da41ebd1b..1dcb75da313d 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -1190,7 +1190,7 @@ static inline void ip_vs_notrack(struct sk_buff *skb)
1190{ 1190{
1191#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE) 1191#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)
1192 enum ip_conntrack_info ctinfo; 1192 enum ip_conntrack_info ctinfo;
1193 struct nf_conn *ct = ct = nf_ct_get(skb, &ctinfo); 1193 struct nf_conn *ct = nf_ct_get(skb, &ctinfo);
1194 1194
1195 if (!ct || !nf_ct_is_untracked(ct)) { 1195 if (!ct || !nf_ct_is_untracked(ct)) {
1196 nf_reset(skb); 1196 nf_reset(skb);