patch-2.4.0-test6 linux/net/ipv6/ip6_flowlabel.c
Next file: linux/net/ipv6/mcast.c
Previous file: linux/net/ipv6/Makefile
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Sun Aug 6 22:20:09 2000
- Orig file:
v2.4.0-test5/linux/net/ipv6/ip6_flowlabel.c
- Orig date:
Mon Nov 1 13:56:27 1999
diff -u --recursive --new-file v2.4.0-test5/linux/net/ipv6/ip6_flowlabel.c linux/net/ipv6/ip6_flowlabel.c
@@ -436,8 +436,11 @@
case IPV6_FL_A_RENEW:
read_lock_bh(&ip6_sk_fl_lock);
for (sfl = np->ipv6_fl_list; sfl; sfl = sfl->next) {
- if (sfl->fl->label == freq.flr_label)
- return fl6_renew(sfl->fl, freq.flr_linger, freq.flr_expires);
+ if (sfl->fl->label == freq.flr_label) {
+ err = fl6_renew(sfl->fl, freq.flr_linger, freq.flr_expires);
+ read_unlock_bh(&ip6_sk_fl_lock);
+ return err;
+ }
}
read_unlock_bh(&ip6_sk_fl_lock);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)