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

2016-07-11 Thread David Miller
From: Soheil Hassas Yeganeh Date: Mon, 11 Jul 2016 16:51:26 -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 v2 net] sock: ignore SCM_RIGHTS and SCM_CREDENTIALS in __sock_cmsg_send

2016-07-11 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