]> git.baikalelectronics.ru Git - kernel.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)
commit04d851f4407e61fb561d65ffb4a537f4aadd1641
tree81313b38cf216d7f936de27c3d244eaf7584b93d
parent9db08524d417f6c2bde233194d0602b5b04a846a
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