[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110118.213327.27785301.davem@davemloft.net>
Date: Tue, 18 Jan 2011 21:33:27 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: ian.molton@...labora.co.uk
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
eric.dumazet@...il.com, ebiederm@...ssion.com, xemul@...nvz.org,
davidel@...ilserver.org, alban.crequy@...labora.co.uk
Subject: Re: [PATCH] af_unix: implement socket filter
From: Ian Molton <ian.molton@...labora.co.uk>
Date: Tue, 18 Jan 2011 16:39:15 +0000
> From: Alban Crequy <alban.crequy@...labora.co.uk>
>
> Linux Socket Filters can already be successfully attached and detached on unix
> sockets with setsockopt(sockfd, SOL_SOCKET, SO_{ATTACH,DETACH}_FILTER, ...).
> See: Documentation/networking/filter.txt
>
> But the filter was never used in the unix socket code so it did not work. This
> patch uses sk_filter() to filter buffers before delivery.
>
> This short program demonstrates the problem on SOCK_DGRAM.
...
> Signed-off-by: Alban Crequy <alban.crequy@...labora.co.uk>
> Reviewed-by: Ian Molton <ian.molton@...labora.co.uk>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists