Message ID | 20170531083010.15135-1-luca@coelho.fi (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Both applied. johannes -- To unsubscribe from this list: send the line "unsubscribe backports" in
diff --git a/backport/backport-include/linux/rtnetlink.h b/backport/backport-include/linux/rtnetlink.h index 9b68be820049..59beffa8316a 100644 --- a/backport/backport-include/linux/rtnetlink.h +++ b/backport/backport-include/linux/rtnetlink.h @@ -18,4 +18,12 @@ ndo_dflt_fdb_add(ndm, tb, dev, addr, flags) #endif +#if LINUX_VERSION_IS_LESS(3,13,0) && \ + !defined(CONFIG_PROVE_LOCKING) +static inline bool lockdep_rtnl_is_held(void) +{ + return true; +} +#endif + #endif /* __BACKPORT_LINUX_RTNETLINK_H */