cvs commit: src/sys/net if.c ifq_var.h src/sys/net/altq

看板DFBSD_commit作者時間21年前 (2005/04/05 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
joerg 2005/04/04 10:08:16 PDT DragonFly src repository Modified files: sys/net if.c ifq_var.h sys/net/altq altq_subr.c Log: When ALTQ was detached from an interface queue, the function pointers for enqueue, dequeue and request ops where reset to NULL. That was fine in the old days when ifq_* checked wether ALTQ is enabled and fell back to the classic implementation, but now it just deferences a NULL pointer. Introduce a new function ifq_set_classic, which resets the pointers to the same values if_attach initially uses and which implements the classic BSD queueing. Use this in altq_detach and if_attach. Reported-by: Stefan Kr柹er <skrueger@meinberlikomm.de> Revision Changes Path 1.31 +9 -3 src/sys/net/if.c 1.3 +2 -0 src/sys/net/ifq_var.h 1.2 +1 -3 src/sys/net/altq/altq_subr.c http://www.dragonflybsd.org/cvsweb/src/sys/net/if.c.diff?r1=1.30&r2=1.31&f=u http://www.dragonflybsd.org/cvsweb/src/sys/net/ifq_var.h.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/sys/net/altq/altq_subr.c.diff?r1=1.1&r2=1.2&f=u
文章代碼(AID): #12KO4N00 (DFBSD_commit)