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

David Miller davem at davemloft.net
Thu Sep 1 16:39:42 PDT 2016


From: David Miller <davem at davemloft.net>
Date: Thu, 01 Sep 2016 16:38:32 -0700 (PDT)

> From: David Howells <dhowells at redhat.com>
> 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 at redhat.com>
> 
> 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;
       ^


More information about the linux-afs mailing list