]> git.baikalelectronics.ru Git - kernel.git/commit
[PKT_SCHED]: Cleanup qdisc creation and alignment macros
authorThomas Graf <tgraf@suug.ch>
Tue, 5 Jul 2005 21:15:09 +0000 (14:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 21:15:09 +0000 (14:15 -0700)
commit88f804b309bc7f9a35c752cfb7c06681cd7078f4
tree441e7a997eca58d2d7d2d06c387667ba82937d58
parent1ff1234abf553e7ea4ca029b7eb2caa353d4a11b
[PKT_SCHED]: Cleanup qdisc creation and alignment macros

Adds qdisc_alloc() to share code between qdisc_create()
and qdisc_create_dflt(). Hides the qdisc alignment behind
macros and makes use of them.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_sched.h
include/net/sch_generic.h
net/sched/sch_api.c
net/sched/sch_generic.c