sock: only define socket limit if mem cgroup configured
authorstephen hemminger <stephen@networkplumber.org>
Fri, 22 Feb 2013 07:59:10 +0000 (07:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2013 20:10:19 +0000 (15:10 -0500)
The mem cgroup socket limit is only used if the config option is
enabled. Found with sparse

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found