From: Eric Dumazet
Date: Sat, 01 Aug 2015 12:14:33 +0200
> From: Eric Dumazet
>
> Multicast dst are not cached. They carry DST_NOCACHE.
>
> As mentioned in commit f8864972126899 ("ipv4: fix dst race in
> sk_dst_get()"), these dst need special care before caching them
> into a socket.
>
> Cach
From: netdev-ow...@vger.kernel.org on behalf of
Eric Dumazet
Sent: Saturday, 1 August 2015 10:14 p.m.
To: Gregory Hoggarth
Cc: Shawn Bohrer; netdev@vger.kernel.org; alexgartr...@gmail.com; Michal Kubeček
Subject: [PATCH net] udp: fix dst races with multicast early demux
From
From: Eric Dumazet
Multicast dst are not cached. They carry DST_NOCACHE.
As mentioned in commit f8864972126899 ("ipv4: fix dst race in
sk_dst_get()"), these dst need special care before caching them
into a socket.
Caching them is allowed only if their refcnt was not 0, ie we
must use atomic_inc