# \[PATCH\]IPv6: fix refcnt of struct ip6\_flowlabel

- From: Yan Zheng \<hidden\>
- Date: 2005-10-24 12:10:16 
- List: netdev
- Page: https://ratatoskr.run/netdev/2005/10/775178
- Thread: https://ratatoskr.run/netdev/2005/10/775178/t.md

```text
Signed-off-by: Yan Zheng <redacted>


Index: net/ipv6/ip6_flowlabel.c
===================================================================
--- linux-2.6.14-rc5/net/ipv6/ip6_flowlabel.c	2005-10-22 10:31:13.000000000 +0800
+++ linux/net/ipv6/ip6_flowlabel.c	2005-10-24 19:55:23.000000000 +0800
@@ -483,7 +483,7 @@
						goto done;
					}
					fl1 = sfl->fl;
-					atomic_inc(&fl->users);
+					atomic_inc(&fl1->users);
					break;
				}
			}
```
