• Paolo Abeni's avatar
    ipv6: provide and use ipv6 specific version for {recv, send}msg · 68ab5d14
    Paolo Abeni authored
    This will simplify indirect call wrapper invocation in the following
    patch.
    
    No functional change intended, any - out-of-tree - IPv6 user of
    inet_{recv,send}msg can keep using the existing functions.
    
    SCTP code still uses the existing version even for ipv6: as this series
    will not add ICW for SCTP, moving to the new helper would not give
    any benefit.
    
    The only other in-kernel user of inet_{recv,send}msg is
    pvcalls_conn_back_read(), but psvcalls explicitly creates only IPv4 socket,
    so no need to update that code path, too.
    
    v1 -> v2: drop inet6_{recv,send}msg declaration from header file,
       prefer ICW macro instead
    Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    68ab5d14
af_inet6.c 28.4 KB