]> git.baikalelectronics.ru Git - kernel.git/commit
mpls: make RTA_OIF optional
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 21 Jul 2015 16:16:24 +0000 (09:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jul 2015 05:27:19 +0000 (22:27 -0700)
commit812d517b90e880d631e17e606973019a554f62b1
treeef5142af1141fdb9fb574f21117e49368d905c82
parent7c83847782e6a1e65f52cd867350e26a11f0f226
mpls: make RTA_OIF optional

If user did not specify an oif, try and get it from the via address.
If failed to get device, return with -ENODEV.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mpls/af_mpls.c