--- a/include/net/pkt_act.h 2005/01/16 13:13:47 1.1 +++ b/include/net/pkt_act.h 2005/01/16 13:15:12 @@ -223,8 +223,10 @@ struct tcf_st *p = NULL; if (index && (p = tcf_hash_lookup(index)) != NULL) { if (bind) { + spin_lock_bh(&p->lock); p->bindcnt++; p->refcnt++; + spin_unlock_bh(&p->lock); } a->priv = p; }