| To: | netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] socket(2) should return EAFNOSUPPORT if no family found |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Sat, 26 Aug 2000 15:17:04 +1000 |
| Sender: | owner-netdev@xxxxxxxxxxx |
| User-agent: | Mutt/1.2i |
Here is a trivial patch to make socket(2) return -EAFNOSUPPORT instead of -EINVAL if the family can't found. SuS specifies EAFNOSUPPORT for socket(2) in this situation. -- Debian GNU/Linux 2.2 is out! ( http://www.debian.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: Implementing 802.3ad-2000 link aggregation under Linux, Nick Towers |
|---|---|
| Next by Date: | Re: Implementing 802.3ad-2000 link aggregation under Linux, Andi Kleen |
| Previous by Thread: | manipulating the IPv6 routing table, Lars Henrik Petander |
| Next by Thread: | Re: [PATCH] socket(2) should return EAFNOSUPPORT if no family found, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |