net: Removed the device type check to add mpls support for devices
authorMartin Varghese <martin.varghese@nokia.com>
Mon, 27 Jul 2020 07:39:19 +0000 (13:09 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2020 18:40:47 +0000 (11:40 -0700)
commit350e7ab92da8420fe97e1edf040db8c9bab750f8
treece650fdc25c1e361b65e8807aa2f456502235c77
parent73cb11933c414b744193d9de660010082bc0a944
net: Removed the device type check to add mpls support for devices

MPLS has no dependency with the device type of underlying devices.
Hence the device type check to add mpls support for devices can be
avoided.

Signed-off-by: Martin Varghese <martin.varghese@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mpls/af_mpls.c