]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ipv4: include NLM_F_APPEND flag in append route notifications
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Wed, 17 Jun 2015 18:07:01 +0000 (11:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Jun 2015 17:23:04 +0000 (10:23 -0700)
commita2bb6d7d6f4249691b6a554cde59969d55b0d9c3
tree81313b38cf216d7f936de27c3d244eaf7584b93d
parentb42be38b2778eda2237fc759e55e3b698b05b315
ipv4: include NLM_F_APPEND flag in append route notifications

This patch adds NLM_F_APPEND flag to struct nlmsg_hdr->nlmsg_flags
in newroute notifications if the route add was an append.
(This is similar to how NLM_F_REPLACE is already part of new
route replace notifications today)

This helps userspace determine if the route add operation was
an append.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Acked-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c