summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-03-09 22:55:05 +0100
committerSimon Horman <horms@verge.net.au>2011-03-15 09:36:49 +0900
commit06b69390a652bfe4fa7e18e27c938e75ffe86ba0 (patch)
tree8231ad9732e93b53ef6d90f9726f1a277b5c6d7c /include/net
parent6060c74a3de8ed142c78133e2829e74711f77387 (diff)
downloadlinux-06b69390a652bfe4fa7e18e27c938e75ffe86ba0.tar.gz
linux-06b69390a652bfe4fa7e18e27c938e75ffe86ba0.tar.bz2
linux-06b69390a652bfe4fa7e18e27c938e75ffe86ba0.zip
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)
{
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)
enum ip_conntrack_info ctinfo;
- struct nf_conn *ct = ct = nf_ct_get(skb, &ctinfo);
+ struct nf_conn *ct = nf_ct_get(skb, &ctinfo);
if (!ct || !nf_ct_is_untracked(ct)) {
nf_reset(skb);