A method and apparatus for avoiding network congestion. An exemplary packet forwarding
device may apply policy rules to incoming packets to assign relative drop probabilities
to the packets based on the priority of the packets. In times of network congestion,
packets may be selectively dropped according to their associated drop probability.