cls_cgroup: Initialise classid when module is absent
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 26 May 2010 01:53:57 +0000 (18:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 May 2010 01:53:57 +0000 (18:53 -0700)
commitea16f912a6ad9fe43131a2e2a108f089c432d510
treeebd5a0663fb5c8fd030fe84a05fb3fb09382b822
parentf925b1303e0672effc78547353bd2ddfe11f5b5f
cls_cgroup: Initialise classid when module is absent

When the cls_cgroup module is not loaded, task_cls_classid will
return an uninitialised classid instead of zero.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/cls_cgroup.h