net: l3mdev: Add master device lookup by index
authorDavid Ahern <dsa@cumulusnetworks.com>
Wed, 16 Dec 2015 21:20:43 +0000 (13:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Dec 2015 19:43:38 +0000 (14:43 -0500)
commit1a8524794fc7c70f44ac28e3a6e8fd637bc41f14
treeb22904fd2471f40ae28b8a35e539f3ef8b70c0c9
parentcc9da6cc4f56e05cc9e591459fe0192727ff58b3
net: l3mdev: Add master device lookup by index

Add helper to lookup l3mdev master index given a device index.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/l3mdev.h