net_cls_act: Make act_simple use of netlink policy.
authorJamal Hadi Salim <hadi@cyberus.ca>
Mon, 5 May 2008 07:22:35 +0000 (00:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2008 07:22:35 +0000 (00:22 -0700)
commitfa1b1cff3d06550d23ef540c4f97ca83c021b473
treed5e0a25956873293a3fc65b6538ee0b31fa6981b
parent5ffc02a158997b1eb91ade8d02bcf521ff79a218
net_cls_act: Make act_simple use of netlink policy.

Convert to netlink helpers by using netlink policy validation.
As a side effect fixes a leak.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_simple.c