| To: | "David S. Miller" <davem@xxxxxxxxxx>, Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [NETLINK] Return err in netlink_connect |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Wed, 30 Jun 2004 21:41:44 +1000 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040523i |
Hi: This patch makes netlink_connect() return the value of err instead of 0. It doesn't actually make any difference since the current implementation of netlink_autobind() never fails. But since we went to all this trouble to check the return status of autobind, might as well return the correct value :) Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Check connect address in NETLINK, Herbert Xu |
|---|---|
| Next by Date: | Re: Check connect address in NETLINK, Alexey Kuznetsov |
| Previous by Thread: | TCP RST problem, christophe . varoqui |
| Next by Thread: | [PATCH 0/6 Linux-2.6.7-bk13] prism54 patches, Margit Schubert-While |
| Indexes: | [Date] [Thread] [Top] [All Lists] |