net: fix socket memcg build with !CONFIG_NET
authorGlauber Costa <glommer@parallels.com>
Fri, 20 Jan 2012 04:57:14 +0000 (04:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jan 2012 20:08:45 +0000 (15:08 -0500)
commit376be5ff8a6a36efadd131860cf26841f366d44c
treeaf7c37842eeb37c4a79195c46fc1dabbaf84be6f
parent1a3bc369ba547c11ca8b3ed079d7584f27499e70
net: fix socket memcg build with !CONFIG_NET

There is still a build bug with the sock memcg code, that triggers
with !CONFIG_NET, that survived my series of randconfig builds.

Signed-off-by: Glauber Costa <glommer@parallels.com>
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
CC: Hiroyouki Kamezawa <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
mm/memcontrol.c