netlink: Move netlink attribute parsing support to lib
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Wed, 4 Mar 2009 06:53:30 +0000 (14:53 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 4 Mar 2009 06:53:30 +0000 (14:53 +0800)
Netlink attribute parsing may be used even if CONFIG_NET is not set.
Move it from net/netlink to lib and control its inclusion based on the new
config symbol CONFIG_NLATTR, which is selected by CONFIG_NET.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found