1. 16 Sep, 2016 30 commits
  2. 15 Sep, 2016 8 commits
  3. 13 Sep, 2016 2 commits
    • David Howells's avatar
      rxrpc: Add IPv6 support · 75b54cb5
      David Howells authored
      Add IPv6 support to AF_RXRPC.  With this, AF_RXRPC sockets can be created:
      
      	service = socket(AF_RXRPC, SOCK_DGRAM, PF_INET6);
      
      instead of:
      
      	service = socket(AF_RXRPC, SOCK_DGRAM, PF_INET);
      
      The AFS filesystem doesn't support IPv6 at the moment, though, since that
      requires upgrades to some of the RPC calls.
      
      Note that a good portion of this patch is replacing "%pI4:%u" in print
      statements with "%pISpc" which is able to handle both protocols and print
      the port.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      75b54cb5
    • David Howells's avatar
      rxrpc: Use rxrpc_extract_addr_from_skb() rather than doing this manually · 1c2bc7b9
      David Howells authored
      There are two places that want to transmit a packet in response to one just
      received and manually pick the address to reply to out of the sk_buff.
      Make them use rxrpc_extract_addr_from_skb() instead so that IPv6 is handled
      automatically.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      1c2bc7b9