net_cls_act: act_simple dont ignore realloc code
authorJamal Hadi Salim <hadi@cyberus.ca>
Tue, 6 May 2008 07:10:24 +0000 (00:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 May 2008 07:10:24 +0000 (00:10 -0700)
commit9d1045ad68fcccfaf1393cc463ab6357693e8d1d
treed34347a568ab3723022350dd6e11ec73a41f380b
parent1da5ea1a8bf4ddb82831528223c853821cb1c9ab
net_cls_act: act_simple dont ignore realloc code

reallocation of the policy data was being ignored. It could fail.
Simplify so that there is no need for reallocating.

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