]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
[IPV4]: Fix order in inet_init failure path.
authorOlaf Kirch <okir@suse.de>
Wed, 27 Sep 2006 23:33:45 +0000 (16:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:01:48 +0000 (18:01 -0700)
commit321efff7c3b7a26fa0522cb12b2af2ac82c05f1e
tree4cf5ef42a015559aa063500da21e5e8559dc4746
parentf0e82fd0e5ad8494985ddfca7de89a800cf96fb8
[IPV4]: Fix order in inet_init failure path.

This is just a minor buglet I came across by accident - when inet_init
fails to register raw_prot, it jumps to out_unregister_udp_proto which
should unregister UDP _and_ TCP.

Signed-off-by: Olaf Kirch <okir@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c