netem: loss model API sizes
authorstephen hemminger <shemminger@vyatta.com>
Fri, 23 Dec 2011 09:16:30 +0000 (09:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Dec 2011 21:51:18 +0000 (16:51 -0500)
commit2494654d4890316e7340fb8b3458daad0474a1b9
treedcd0fcc707457b56b14b37053c288488872dd8f2
parentf5a59b73321d9c6e6a9f0be4c8b563668f12c625
netem: loss model API sizes

The new netem loss model is configured with nested netlink messages.
This code is being overly strict about sizes, and is easily confused
by padding (or possible future expansion). Also message
for gemodel is incorrect.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_netem.c