When memory cgroup is absent, there was not attempt to detect if IPv4 forwarding was enabled and therefore, docker was printing a warning for each command spawning a new container. The test for IPv4 forwarding was guarded by the test for memory cgroup. Upstream-commit: 64b817a5c12545252d0cbb3d4ce1f23996bb266b Component: engine