Re: [PATCH net] sock: ignore SCM_RIGHTS and SCM_CREDENTIALS in __sock_cmsg_send

2016-07-11 Thread Soheil Hassas Yeganeh
On Mon, Jul 11, 2016 at 4:39 PM, David Miller wrote: > > From: Soheil Hassas Yeganeh > Date: Sun, 10 Jul 2016 12:51:46 -0400 > > > From: Soheil Hassas Yeganeh > > > > Sergei Trofimovich reported that pulse audio sends SCM_CREDENTIALS > > as a control message to TCP. Since __sock_cmsg_send does n

Re: [PATCH net] sock: ignore SCM_RIGHTS and SCM_CREDENTIALS in __sock_cmsg_send

2016-07-11 Thread David Miller
From: Soheil Hassas Yeganeh Date: Sun, 10 Jul 2016 12:51:46 -0400 > From: Soheil Hassas Yeganeh > > Sergei Trofimovich reported that pulse audio sends SCM_CREDENTIALS > as a control message to TCP. Since __sock_cmsg_send does not > support SCM_RIGHTS and SCM_CREDENTIALS, it returns an error and

[PATCH net] sock: ignore SCM_RIGHTS and SCM_CREDENTIALS in __sock_cmsg_send

2016-07-10 Thread Soheil Hassas Yeganeh
From: Soheil Hassas Yeganeh Sergei Trofimovich reported that pulse audio sends SCM_CREDENTIALS as a control message to TCP. Since __sock_cmsg_send does not support SCM_RIGHTS and SCM_CREDENTIALS, it returns an error and hence breaks pulse audio over TCP. SCM_RIGHTS and SCM_CREDENTIALS are sent o