Re: [PATCH net] udp6: set rx_dst_cookie on rx_dst updates

2017-08-25 Thread David Miller
From: Paolo Abeni Date: Fri, 25 Aug 2017 14:31:01 +0200 > Currently, in the udp6 code, the dst cookie is not initialized/updated > concurrently with the RX dst used by early demux. > > As a result, the dst_check() in the early_demux path always fails, > the rx dst cache is always invalidated, an

[PATCH net] udp6: set rx_dst_cookie on rx_dst updates

2017-08-25 Thread Paolo Abeni
Currently, in the udp6 code, the dst cookie is not initialized/updated concurrently with the RX dst used by early demux. As a result, the dst_check() in the early_demux path always fails, the rx dst cache is always invalidated, and we can't really leverage significant gain from the demux lookup.