From: Nicolas Dichtel <nicolas.dich...@6wind.com>
Date: Thu, 25 Jan 2018 19:03:03 +0100

> Some dst_ops (e.g. md_dst_ops)) doesn't set this handler. It may result to:
> "BUG: unable to handle kernel NULL pointer dereference at           (null)"
> 
> Let's add a helper to check if update_pmtu is available before calling it.
> 
> Fixes: 52a589d51f10 ("geneve: update skb dst pmtu on tx path")
> Fixes: a93bf0ff4490 ("vxlan: update skb dst pmtu on tx path")
> CC: Roman Kapl <c...@rkapl.cz>
> CC: Xin Long <lucien....@gmail.com>
> Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com>

Applied with the fixup suggested by David Ahern and queued up for -stable,
thank you!

Reply via email to