lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 11 Oct 2008 08:39:18 -0700
From:	Greg KH <greg@...ah.com>
To:	Tzafrir Cohen <tzafrir.cohen@...com.com>
Cc:	linux-kernel@...r.kernel.org, David Rowe <david@...etel.com>,
	Greg Kroah-Hartman <gregkh@...e.de>
Subject: Re: [PATCH 16/23] Staging: add echo cancelation module

On Sat, Oct 11, 2008 at 08:33:10AM +0200, Tzafrir Cohen wrote:
> While there are a number of small issues in this code, I personally
> would like to first and foremost get a usable interface so I could get a
> working echo canceller module into dahdi:
> http://svn.digium.com/svn/dahdi/linux/trunk/
> http://svn.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/

Ok, that's great.  I'm not saying that the current interface for this
driver is correct, that is why it is in the staging tree :)

It will change, don't worry.

But, what should it change into?

> 1. echo.h (The interface) needlessly includes the definition of 
> definition of echo_can_state_t. Anywhere in the interface it is used as
> a pointer, including a _create and _destory function.

Simple to fix up.

> 2. Furthermore, anybody that includes fir.h must also define malloc 
>    first. See echo.c . fir.h is included for the definition of
>    echo_can_state_t .

That will be resolved as well.

> 3. In that specific environment (dahdi/zaptel) echo_can is not a very
> unique prefix. Thus in my provisional change I added oslec_ as a prefix.

Ok, that seems very reasonable.  The whole module should probably have
that added as a prefix as well.

> I'm not sure how much (3) counts here.

Lots :)

> My current working tree is in not in the best place: the debian
> (non-existing) package dahdi-linux . See 
> 
>   http://svn.debian.org/viewsvn/pkg-voip?rev=6284&view=rev
> 
> I hope that once I get a clear enough interface I can kick out the oslec
> subdirectory and move the EC module upstream.

Care to send me patches to help resolve these issues to make it easier
for you?

> On Fri, Oct 10, 2008 at 03:42:40PM -0700, Greg KH wrote:
> 
> > diff --git a/drivers/staging/echo/TODO b/drivers/staging/echo/TODO
> > new file mode 100644
> > index 0000000..1ca09af
> > --- /dev/null
> > +++ b/drivers/staging/echo/TODO
> > @@ -0,0 +1,10 @@
> > +TODO:
> 
> > +	- remove proc interface, only use echo.h interface (proc interface is
> > +	  racy and not correct.)
> 
> Already done, right? I don't see any _wrapper.c around.

Ah, good point, forgot that was already removed.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ