mpls: fix uninitialized in_label var warning in mpls_getroute
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Fri, 7 Jul 2017 18:21:49 +0000 (11:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Jul 2017 10:26:41 +0000 (11:26 +0100)
commita906c1aa43fa9f3785240fda03269d4283635df2
tree3e5eac4532b62821d30f44674f4c14e3735f6aa0
parent11bafd547712ebff79636d0cc008e9335d8ec75b
mpls: fix uninitialized in_label var warning in mpls_getroute

Fix the below warning generated by static checker:
    net/mpls/af_mpls.c:2111 mpls_getroute()
    error: uninitialized symbol 'in_label'."

Fixes: 397fc9e5cefe ("mpls: route get support")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mpls/af_mpls.c