Re: svn commit: r357233 - head/sys/net

2020-02-04 Thread Kristof Provost
On 4 Feb 2020, at 11:32, Gleb Smirnoff wrote: On Sat, Feb 01, 2020 at 07:26:48PM +, Kristof Provost wrote: K> > K> -/* The below interface used only by epair(4). */ K> > K> +/* The below interfaces are used only by epair(4). */ K> > K> +void if_clone_addif(struct if_clone *, struct ifnet *);

Re: svn commit: r357233 - head/sys/net

2020-02-04 Thread Gleb Smirnoff
Kristof, On Sat, Feb 01, 2020 at 07:26:48PM +, Kristof Provost wrote: K> > K> -/* The below interface used only by epair(4). */ K> > K> +/* The below interfaces are used only by epair(4). */ K> > K> +void if_clone_addif(struct if_clone *, struct ifnet *); K> > K> intif_clone_destroyif

Re: svn commit: r357233 - head/sys/net

2020-02-01 Thread Kristof Provost
On 30 Jan 2020, at 16:34, Gleb Smirnoff wrote: On Tue, Jan 28, 2020 at 10:44:25PM +, Kristof Provost wrote: K> Author: kp K> Date: Tue Jan 28 22:44:24 2020 K> New Revision: 357233 K> URL: https://svnweb.freebsd.org/changeset/base/357233 K> K> Log: K> epair: Do not abuse params to registe

Re: svn commit: r357233 - head/sys/net

2020-01-30 Thread Gleb Smirnoff
On Tue, Jan 28, 2020 at 10:44:25PM +, Kristof Provost wrote: K> Author: kp K> Date: Tue Jan 28 22:44:24 2020 K> New Revision: 357233 K> URL: https://svnweb.freebsd.org/changeset/base/357233 K> K> Log: K> epair: Do not abuse params to register the second interface K> K> if_epair used the

svn commit: r357233 - head/sys/net

2020-01-28 Thread Kristof Provost
Author: kp Date: Tue Jan 28 22:44:24 2020 New Revision: 357233 URL: https://svnweb.freebsd.org/changeset/base/357233 Log: epair: Do not abuse params to register the second interface if_epair used the 'params' argument to pass a pointer to the b interface through if_clone_create(). This