pkt_sched: Make sure RTNL is held in qdisc_root_lock().
authorDavid S. Miller <davem@davemloft.net>
Sun, 3 Aug 2008 06:27:37 +0000 (23:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Aug 2008 06:27:37 +0000 (23:27 -0700)
commit7e43f1128d4c4bd91786ca6abff45a91e88f9776
tree9bf24079d6a70090d1872b23b95c483237d86b25
parent35ed4e75989c4e84a44b25569bbf09b98f923880
pkt_sched: Make sure RTNL is held in qdisc_root_lock().

It is the only legal environment in which this can be
used.

Add some commentary explaining the situation.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h