[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140905.144125.1368697780523222565.davem@davemloft.net>
Date: Fri, 05 Sep 2014 14:41:25 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: g.nault@...halink.fr
Cc: netdev@...r.kernel.org, jchapman@...alix.com
Subject: Re: [PATCH net] l2tp: fix race while getting PMTU on PPP
pseudo-wire
From: Guillaume Nault <g.nault@...halink.fr>
Date: Wed, 3 Sep 2014 14:12:55 +0200
> Use dst_entry held by sk_dst_get() to retrieve tunnel's PMTU.
>
> The dst_mtu(__sk_dst_get(tunnel->sock)) call was racy. __sk_dst_get()
> could return NULL if tunnel->sock->sk_dst_cache was reset just before the
> call, thus making dst_mtu() dereference a NULL pointer:
...
> Signed-off-by: Guillaume Nault <g.nault@...halink.fr>
Applied and queued up for -stable, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists