On Sunday, February 28, 2016 10:44:30 Sven Eckelmann wrote:
From: Antonio Quartulli a@unstable.cc
The ethtool API is changing in linux-4.6 and the B.A.T.M.A.N. V code has to be changed accordingly.
Fixes: 5c3245172c01 ("batman-adv: ELP - compute the metric based on the estimated throughput") Signed-off-by: Antonio Quartulli a@unstable.cc [sven@narfation.org: Added compat code for __ethtool_get_link_ksettings] Signed-off-by: Sven Eckelmann sven@narfation.org
resend of "RFC v2" as patch with my Signed-off-by added
compat-include/linux/ethtool.h | 62 ++++++++++++++++++++++++++++++++++++++++++ net/batman-adv/bat_v_elp.c | 12 ++++---- 2 files changed, 68 insertions(+), 6 deletions(-) create mode 100644 compat-include/linux/ethtool.h
Applied in revision 3515604.
Thanks, Marek