From: yupeng <redacted>
Date: Wed, 5 Dec 2018 18:56:28 -0800
after set SO_DONTROUTE to 1, the IP layer should not route packets if
the dest IP address is not in link scope. But if the socket has cached
the dst_entry, such packets would be routed until the sk_dst_cache
expires. So we should clean the sk_dst_cache when a user set
SO_DONTROUTE option. Below are server/client python scripts which
could reprodue this issue:
...
Signed-off-by: yupeng <redacted>
Applied.