From 1ce8c50866df814d6c565a91a8ffd1a7c0bc2ba4 Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Thu, 18 Oct 2007 05:38:48 -0700 Subject: [PATCH] --- yaml --- r: 71303 b: refs/heads/master c: 52f095ee88d8851866bc7694ab991ca5abf21d5e h: refs/heads/master i: 71301: de48561d63778f636ce490612967396fb679373b 71299: a9a4eb51d4130236e3d323a711138604d6159853 71295: c6f116d09a690d0eb2fb746ed8b07da862fdb83b v: v3 --- [refs] | 2 +- trunk/net/ipv6/ip6_flowlabel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0fdfb0c1ec22..f86714af8397 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bc34b841556aad437baf4199744e55500bfa2088 +refs/heads/master: 52f095ee88d8851866bc7694ab991ca5abf21d5e diff --git a/trunk/net/ipv6/ip6_flowlabel.c b/trunk/net/ipv6/ip6_flowlabel.c index e55ae1a1f560..b12cc22e7745 100644 --- a/trunk/net/ipv6/ip6_flowlabel.c +++ b/trunk/net/ipv6/ip6_flowlabel.c @@ -210,9 +210,9 @@ struct ip6_flowlabel * fl6_sock_lookup(struct sock *sk, __be32 label) for (sfl=np->ipv6_fl_list; sfl; sfl = sfl->next) { struct ip6_flowlabel *fl = sfl->fl; if (fl->label == label) { - read_unlock_bh(&ip6_sk_fl_lock); fl->lastuse = jiffies; atomic_inc(&fl->users); + read_unlock_bh(&ip6_sk_fl_lock); return fl; } }