summaryrefslogtreecommitdiffstats
path: root/net/llc/llc_core.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2006-03-20 21:28:11 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 21:28:11 -0800
commit2e1f47c74c26a591fc490eb339f1b3167361158b (patch)
tree3136b2bdfa2bc95f3672318d73f533ecf37f24c1 /net/llc/llc_core.c
parent2342c990bbd2c075d627720006f0e602134346a7 (diff)
downloadlinux-2e1f47c74c26a591fc490eb339f1b3167361158b.tar.bz2
[LLC]: Fix sap refcounting
Thanks to Leslie Harlley Watter <leslie@watter.org> for reporting the problem an testing this patch. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc/llc_core.c')
-rw-r--r--net/llc/llc_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/llc/llc_core.c b/net/llc/llc_core.c
index ab0fcd32fd84..bd242a49514a 100644
--- a/net/llc/llc_core.c
+++ b/net/llc/llc_core.c
@@ -127,7 +127,6 @@ struct llc_sap *llc_sap_open(unsigned char lsap,
goto out;
sap->laddr.lsap = lsap;
sap->rcv_func = func;
- llc_sap_hold(sap);
llc_add_sap(sap);
out:
write_unlock_bh(&llc_sap_list_lock);