net: protocols -- Add lookup_proto helper
commit6f78fd49baba4bacaf4f4b34321d67090c531eeb
authorCyrill Gorcunov <gorcunov@openvz.org>
Wed, 30 Oct 2013 12:15:43 +0000 (30 16:15 +0400)
committerDave Jones <davej@redhat.com>
Thu, 31 Oct 2013 20:19:30 +0000 (31 16:19 -0400)
tree55e0c95ad526d9585428608644a12d90c49e5497
parente9e64fc2f5354e528bc8b1dc567e5049ac736e92
net: protocols -- Add lookup_proto helper

We will use it for parsing disabled sockets families as well.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
net/protocols.c