summaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2017-03-07 00:57:31 +0100
committerDavid S. Miller <davem@davemloft.net>2017-03-09 22:04:48 +0100
commit5be083cedc087b2d457ef2e9c2d5698c94d3d5e4 (patch)
tree229cc3fef63f1be681fb151a72a912869163fbb8 /net/batman-adv
parentmlxsw: spectrum_flower: Remove bogus warns in mlxsw_sp_flower_destroy (diff)
downloadlinux-5be083cedc087b2d457ef2e9c2d5698c94d3d5e4.tar.xz
linux-5be083cedc087b2d457ef2e9c2d5698c94d3d5e4.zip
net: ipv6: Remove redundant RTA_OIF in multipath routes
Dinesh reported that RTA_MULTIPATH nexthops are 8-bytes larger with IPv6 than IPv4. The recent refactoring for multipath support in netlink messages does discriminate between non-multipath which needs the OIF and multipath which adds a rtnexthop struct for each hop making the RTA_OIF attribute redundant. Resolve by adding a flag to the info function to skip the oif for multipath. Fixes: beb1afac518d ("net: ipv6: Add support to dump multipath routes via RTA_MULTIPATH attribute") Reported-by: Dinesh Dutt <ddutt@cumulusnetworks.com> Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions