• Alexander Duyck's avatar
    ipv4: Minor logic clean-up in ipv4_mtu · 98d75c37
    Alexander Duyck authored
    In ipv4_mtu there is some logic where we are testing for a non-zero value
    and a timer expiration, then setting the value to zero, and then testing if
    the value is zero we set it to a value based on the dst.  Instead of
    bothering with the extra steps it is easier to just cleanup the logic so
    that we set it to the dst based value if it is zero or if the timer has
    expired.
    Signed-off-by: default avatarAlexander Duyck <alexander.h.duyck@intel.com>
    98d75c37
route.c 63.1 KB