[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070726090725.GA510@gondor.apana.org.au>
Date: Thu, 26 Jul 2007 17:07:25 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Cc: Patrick McHardy <kaber@...sh.net>,
Herbert Xu <herbert@...dor.apana.org.au>
Subject: [0/6] Allow registration/change name notifications to fail
Hi Dave:
This series of patches adds support to let netdev registration
and change name events to fail. Failures of the former kind
prevents the device from registered while the latter attempts
to roll back the change (which unfortunately can also fail).
If the failure occurs while a netdev is being registered,
then the registration as a whole will fail. If it occurs
when a protocol is being registered, then that protocol
will fail to register instead.
Having this allows us to flag allocations failures in a
meaningful way rather than letting the next action that
requires what is allocated to flag the failure.
In particular, this allows the reporting of failures to
allocate the IPv4/IPv6 device objects.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists