DORMANTno replies

[PATCH PKT_SCHED 17/22]: tc actions: remove unnecessary locking for refcnt changes

From: Patrick McHardy <hidden>
Date: 2005-01-10 19:38:12

BTW: This part in pkt_act.h looks kind of strange:

tcf_hash_check:
                if (bind) {
                        p->bindcnt++;
                        p->refcnt++;
                }

but tcf_hash_release:
                if (bind) {
                        p->bindcnt--;
                }
                p->refcnt--;

Shouldn't refcnt be incremented unconditionally ?

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help