Re: [PATCH net v2] udp6: set dst cache for a connected sk before udp_v6_send_skb

2018-03-28 Thread Alexey Kodanev
On 27.03.2018 22:00, Martin KaFai Lau wrote: > On Tue, Mar 27, 2018 at 04:27:30PM +0300, Alexey Kodanev wrote: >> On 26.03.2018 20:02, Martin KaFai Lau wrote: >>> On Mon, Mar 26, 2018 at 05:48:47PM +0300, Alexey Kodanev wrote: After commit 33c162a980fe ("ipv6: datagram: Update dst cache of a

Re: [PATCH net v2] udp6: set dst cache for a connected sk before udp_v6_send_skb

2018-03-27 Thread Martin KaFai Lau
On Tue, Mar 27, 2018 at 04:27:30PM +0300, Alexey Kodanev wrote: > On 26.03.2018 20:02, Martin KaFai Lau wrote: > > On Mon, Mar 26, 2018 at 05:48:47PM +0300, Alexey Kodanev wrote: > >> After commit 33c162a980fe ("ipv6: datagram: Update dst cache of a > >> connected datagram sk during pmtu update"),

Re: [PATCH net v2] udp6: set dst cache for a connected sk before udp_v6_send_skb

2018-03-27 Thread Alexey Kodanev
On 26.03.2018 20:02, Martin KaFai Lau wrote: > On Mon, Mar 26, 2018 at 05:48:47PM +0300, Alexey Kodanev wrote: >> After commit 33c162a980fe ("ipv6: datagram: Update dst cache of a >> connected datagram sk during pmtu update"), when the error occurs on >> sending datagram in udpv6_sendmsg() due to

Re: [PATCH net v2] udp6: set dst cache for a connected sk before udp_v6_send_skb

2018-03-26 Thread Martin KaFai Lau
On Mon, Mar 26, 2018 at 05:48:47PM +0300, Alexey Kodanev wrote: > After commit 33c162a980fe ("ipv6: datagram: Update dst cache of a > connected datagram sk during pmtu update"), when the error occurs on > sending datagram in udpv6_sendmsg() due to ICMPV6_PKT_TOOBIG type, > error handler can

Re: [PATCH net v2] udp6: set dst cache for a connected sk before udp_v6_send_skb

2018-03-26 Thread Eric Dumazet
On 03/26/2018 07:48 AM, Alexey Kodanev wrote: > After commit 33c162a980fe ("ipv6: datagram: Update dst cache of a > connected datagram sk during pmtu update"), when the error occurs on > sending datagram in udpv6_sendmsg() due to ICMPV6_PKT_TOOBIG type, > error handler can trigger the following

[PATCH net v2] udp6: set dst cache for a connected sk before udp_v6_send_skb

2018-03-26 Thread Alexey Kodanev
After commit 33c162a980fe ("ipv6: datagram: Update dst cache of a connected datagram sk during pmtu update"), when the error occurs on sending datagram in udpv6_sendmsg() due to ICMPV6_PKT_TOOBIG type, error handler can trigger the following path and call ip6_dst_store(): udpv6_err()