]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6]: make inet6_register_protosw to return an error code
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 11 Dec 2007 10:25:01 +0000 (02:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:57:12 +0000 (14:57 -0800)
commit181e4300abe0959f38c7ed9c8318877516b1899b
tree938179d4904406a82d35018c0d7b895505213124
parenta9dc4bab7c82bb43e4c67eb85ab91b2c91df7a87
[IPV6]: make inet6_register_protosw to return an error code

This patch makes the inet6_register_protosw to return an error code.
The different protocols can be aware the registration was successful or
not and can pass the error to the initial caller, af_inet6.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/protocol.h
net/ipv6/af_inet6.c