net: vrf: Fix setting NLM_F_EXCL flag when adding l3mdev rule
authorDavid Ahern <dsa@cumulusnetworks.com>
Thu, 13 Apr 2017 16:57:15 +0000 (10:57 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Apr 2017 17:27:54 +0000 (13:27 -0400)
commit426c87caa2b4578b43cd3f689f02c65b743b2559
treefad2a9af2bfd972040453cddf7ee8579d7c144da
parentb47a57a273fc0c1a922fe8b6a139881971e3d8de
net: vrf: Fix setting NLM_F_EXCL flag when adding l3mdev rule

Only need 1 l3mdev FIB rule. Fix setting NLM_F_EXCL in the nlmsghdr.

Fixes: 1aa6c4f6b8cd8 ("net: vrf: Add l3mdev rules on first device create")
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vrf.c