]> git.baikalelectronics.ru Git - kernel.git/commit
[INET]: Cleanup the xfrm4_tunnel_(un)register
authorPavel Emelyanov <xemul@openvz.org>
Sun, 11 Nov 2007 05:48:54 +0000 (21:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2007 05:48:54 +0000 (21:48 -0800)
commit9d9aae04eae64b053ace3bd61ca1516c4a1584e3
tree37336ab2cca8f9acc66eff0da42a235c59c1384f
parentecf83f26931b1f0b396d8782da9cd7a9257e1d0d
[INET]: Cleanup the xfrm4_tunnel_(un)register

Both check for the family to select an appropriate tunnel list.
Consolidate this check and make the for() loop more readable.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tunnel4.c