Re: [RFC Patch net-next 2/5] net: introduce generic inet_pton()
From: Cong Wang <hidden>
Date: 2013-07-01 07:03:24
Also in:
lkml
From: Cong Wang <hidden>
Date: 2013-07-01 07:03:24
Also in:
lkml
On Thu, 2013-06-27 at 16:32 +0100, Ben Hutchings wrote:
The return values for this are awful. I think the return value should be 0 for success or -EINVAL on error. The caller can then check addr->sa.sa_family if they want to know the address family immediately.
Indeed, I will fix it. Thanks!