]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit87c3efbfdd1f98af14a1f60ff19f73d9a8d8da98
tree938179d4904406a82d35018c0d7b895505213124
parent853cbbaaa4ccdf221be5ab6afe967aa9998546b7
[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