Re: [PATCH v2] sctp: full support for ipv6 ip_nonlocal_bind & IP_FREEBIND

2017-10-24 Thread David Miller
From: Laszlo Toth Date: Mon, 23 Oct 2017 19:19:33 +0200 > Commit 9b9742022888 ("sctp: support ipv6 nonlocal bind") > introduced support for the above options as v4 sctp did, > so patched sctp_v6_available(). > > In the v4 implementation it's enough, because > sctp_inet_bind_verify() just returns

Re: [PATCH v2] sctp: full support for ipv6 ip_nonlocal_bind & IP_FREEBIND

2017-10-23 Thread Xin Long
On Tue, Oct 24, 2017 at 1:19 AM, Laszlo Toth wrote: > Commit 9b9742022888 ("sctp: support ipv6 nonlocal bind") > introduced support for the above options as v4 sctp did, > so patched sctp_v6_available(). > > In the v4 implementation it's enough, because > sctp_inet_bind_verify() just returns with

[PATCH v2] sctp: full support for ipv6 ip_nonlocal_bind & IP_FREEBIND

2017-10-23 Thread Laszlo Toth
Commit 9b9742022888 ("sctp: support ipv6 nonlocal bind") introduced support for the above options as v4 sctp did, so patched sctp_v6_available(). In the v4 implementation it's enough, because sctp_inet_bind_verify() just returns with sctp_v4_available(). However sctp_inet6_bind_verify() has an ext