• David S. Miller's avatar
    ipv4: Add helper inet_csk_update_pmtu(). · 80d0a69f
    David S. Miller authored
    This abstracts away the call to dst_ops->update_pmtu() so that we can
    transparently handle the fact that, in the future, the dst itself can
    be invalidated by the PMTU update (when we have non-host routes cached
    in sockets).
    
    So we try to rebuild the socket cached route after the method
    invocation if necessary.
    
    This isn't used by SCTP because it needs to cache dsts per-transport,
    and thus will need it's own local version of this helper.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    80d0a69f
inet_connection_sock.h 10.7 KB