Re: [PATCH net-next 0/7] rxrpc: Miscellany

2017-08-29 Thread David Miller
From: David Howells 
Date: Tue, 29 Aug 2017 13:26:47 +0100

> 
> Here are a number of patches that make some changes/fixes and add a couple
> of extensions to AF_RXRPC for kernel services to use.  The changes and
> fixes are:
 ...
> Tagged thusly:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
>   rxrpc-next-20170829

Pulled, thanks David.


[PATCH net-next 0/7] rxrpc: Miscellany

2017-08-29 Thread David Howells

Here are a number of patches that make some changes/fixes and add a couple
of extensions to AF_RXRPC for kernel services to use.  The changes and
fixes are:

 (1) Use time64_t rather than u32 outside of protocol or
 UAPI-representative structures.

 (2) Use the correct time stamp when loading a key from an XDR-encoded
 Kerberos 5 key.

 (3) Fix IPv6 support.

 (4) Fix some places where the error code is being incorrectly made
 positive before returning.

 (5) Remove some white space.

And the extensions:

 (6) Add an end-of-Tx phase notification, thereby allowing kAFS to
 transition the state on its own call record at the correct point,
 rather than having to do it in advance and risk non-completion of the
 call in the wrong state.

 (7) Allow a kernel client call to be retried if it fails on a network
 error, thereby making it possible for kAFS to iterate over a number of
 IP addresses without having to reload the Tx queue and re-encrypt data
 each time.

The patches can be found here also:


http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-next

Tagged thusly:

git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
rxrpc-next-20170829

David
---
Baolin Wang (1):
  net: rxrpc: Replace time_t type with time64_t type

David Howells (6):
  rxrpc: Use correct timestamp from Kerberos 5 ticket
  rxrpc: Fix IPv6 support
  rxrpc: Don't negate call->error before returning it
  rxrpc: Remove some excess whitespace
  rxrpc: Add notification of end-of-Tx phase
  rxrpc: Allow failed client calls to be retried


 Documentation/networking/rxrpc.txt |   57 
 fs/afs/rxrpc.c |   46 
 include/keys/rxrpc-type.h  |   23 
 include/net/af_rxrpc.h |   21 +++
 net/rxrpc/af_rxrpc.c   |   75 +-
 net/rxrpc/ar-internal.h|   25 -
 net/rxrpc/call_accept.c|2 -
 net/rxrpc/call_object.c|  102 ++--
 net/rxrpc/conn_client.c|   17 +-
 net/rxrpc/conn_object.c|2 -
 net/rxrpc/key.c|   22 +---
 net/rxrpc/local_event.c|2 -
 net/rxrpc/output.c |2 -
 net/rxrpc/peer_event.c |6 +-
 net/rxrpc/rxkad.c  |   22 
 net/rxrpc/sendmsg.c|   62 +++---
 net/rxrpc/utils.c  |   23 ++--
 17 files changed, 419 insertions(+), 90 deletions(-)



Re: [PATCH net-next 0/7] rxrpc: Miscellany

2017-04-06 Thread David Miller
From: David Howells 
Date: Thu, 06 Apr 2017 11:22:14 +0100

> Here's a set of patches that make some minor changes to AF_RXRPC:
 ...
> Tagged thusly:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
>   rxrpc-rewrite-20170406

Pulled, thanks David.


[PATCH net-next 0/7] rxrpc: Miscellany

2017-04-06 Thread David Howells

Here's a set of patches that make some minor changes to AF_RXRPC:

 (1) Store error codes in struct rxrpc_call::error as negative codes and
 only convert to positive in recvmsg() to avoid confusion inside the
 kernel.

 (2) Note the result of trying to abort a call (this fails if the call is
 already 'completed').

 (3) Don't abort on temporary errors whilst processing challenge and
 response packets, but rather drop the packet and wait for
 retransmission.

And also adds some more tracing:

 (4) Protocol errors.

 (5) Received abort packets.

 (6) Changes in the Rx window size due to ACK packet information.

 (7) Client call initiation (to allow the rxrpc_call struct pointer, the
 wire call ID and the user ID/afs_call pointer to be cross-referenced).

The patches can be found here also:


http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-rewrite

Tagged thusly:

git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
rxrpc-rewrite-20170406

David
---
David Howells (7):
  rxrpc: Use negative error codes in rxrpc_call struct
  rxrpc: Note a successfully aborted kernel operation
  rxrpc: Handle temporary errors better in rxkad security
  rxrpc: Trace protocol errors in received packets
  rxrpc: Trace received aborts
  rxrpc: Trace changes in a call's receive window size
  rxrpc: Trace client call connection


 fs/afs/rxrpc.c   |   12 +--
 include/net/af_rxrpc.h   |2 
 include/trace/events/rxrpc.h |  101 +++
 net/rxrpc/ar-internal.h  |   19 
 net/rxrpc/call_accept.c  |6 +
 net/rxrpc/call_event.c   |2 
 net/rxrpc/call_object.c  |4 -
 net/rxrpc/conn_client.c  |1 
 net/rxrpc/conn_event.c   |   17 ++--
 net/rxrpc/input.c|   17 +++-
 net/rxrpc/insecure.c |   10 ++
 net/rxrpc/peer_event.c   |2 
 net/rxrpc/recvmsg.c  |8 +-
 net/rxrpc/rxkad.c|  184 ++
 net/rxrpc/sendmsg.c  |   17 +++-
 15 files changed, 294 insertions(+), 108 deletions(-)