compat: Identify existence of netdev_notifier_info_to_dev
authorVladimir Sokolovsky <vlad@mellanox.com>
Sun, 12 Feb 2017 09:34:18 +0000 (11:34 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Sun, 12 Feb 2017 09:34:18 +0000 (11:34 +0200)
commit702032fddbd9e67f2a7df889b8d583e513172b9c
tree318e1d74a540a52e65881e7e80eeb83df88268d8
parenteaba36efc01effa9f4e48df23340af1dd802da88
compat: Identify existence of netdev_notifier_info_to_dev

Instead of saying that all kernels under 3.11.0 don't have
implementation of netdev_notifier_info_to_dev() check it specifically.
Otherwise, the 3rd argument to notifier call will be handled in a wrong
way.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
config/rdma.m4
include/linux/compat-3.11.h
include/linux/netdevice.h