net: add a possibility to get private from netdev_adjacent->list
authorVeaceslav Falico <vfalico@redhat.com>
Wed, 25 Sep 2013 07:20:23 +0000 (09:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Sep 2013 20:02:06 +0000 (16:02 -0400)
commitb6ccba4c681fdaf0070e580bf951badf7edc860b
tree69182002ffd5eba43619b6f7a1b8fe1273f59296
parent70039aa7c6c182c488ec23a9669d9f6b21aebe16
net: add a possibility to get private from netdev_adjacent->list

It will be useful to get first/last element.

CC: "David S. Miller" <davem@davemloft.net>
CC: Eric Dumazet <edumazet@google.com>
CC: Jiri Pirko <jiri@resnulli.us>
CC: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c