From: Herbert Xu Date: Wed, 11 Mar 2009 15:18:32 +0000 (+0800) Subject: nlattr: Fix build error with NET off X-Git-Tag: v2.6.30-rc1~677^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=908002161247e6e68c478052926b62d9a3d72418;p=pandora-kernel.git nlattr: Fix build error with NET off We moved the netlink attribute support from net to lib in order for it to be available for general consumption. However, parts of the code (the bits that we don't need :) really depends on NET because the target object is sk_buff. This patch fixes this by wrapping them in CONFIG_NET. Some EXPORTs have been moved to make this work. Tested-by: Geert Uytterhoeven Signed-off-by: Herbert Xu --- Reading git-diff-tree failed