net: mpls: Update lfib_nlmsg_size to skip deleted nexthops
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 28 Mar 2017 22:19:49 +0000 (15:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2017 17:42:38 +0000 (10:42 -0700)
commite944e97afc66e619603390fc5f0c6bc02f961353
tree5e36311befb29727fbeccd388170286706f468a6
parentd0281a56b00c63ad51ebb550fba0351807475c47
net: mpls: Update lfib_nlmsg_size to skip deleted nexthops

A recent commit skips nexthops in a route if the device has been
deleted. Update lfib_nlmsg_size accordingly.

Reported-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Acked-by: Robert Shearman <rshearma@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mpls/af_mpls.c