From: Nicolas Dichtel <[email protected]>
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 <[email protected]>
> CC: Xin Long <[email protected]>
> Signed-off-by: Nicolas Dichtel <[email protected]>

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

Reply via email to