Re: [PATCH net-next] rxrpc: Don't expose skbs to in-kernel users

From: David Miller
Date: Thu Sep 01 2016 - 19:39:49 EST


From: David Miller <davem@xxxxxxxxxxxxx>
Date: Thu, 01 Sep 2016 16:38:32 -0700 (PDT)

> From: David Howells <dhowells@xxxxxxxxxx>
> Date: Tue, 30 Aug 2016 16:52:39 +0100
>
>> Don't expose skbs to in-kernel users, such as the AFS filesystem, but
>> instead provide a notification hook the indicates that a call needs
>> attention and another that indicates that there's a new call to be
>> collected.
> ...
>> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
>
> Applied.

Actually, reverted, this adds a new warning to the build:

net/rxrpc/recvmsg.c: In function ʽrxrpc_kernel_recv_dataʼ:
net/rxrpc/recvmsg.c:531:1: warning: label ʽneed_more_dataʼ defined but not used [-Wunused-label]
need_more_data:
^
net/rxrpc/recvmsg.c:475:7: warning: unused variable ʽno_moreʼ [-Wunused-variable]
bool no_more;
^