linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / net / llc / llc_core.c
index bd242a4..ab0fcd3 100644 (file)
@@ -127,6 +127,7 @@ 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);