]> granicus.if.org Git - libnl/commit
Add NL_CACHE_AF_ITER support during refill and resync
authorroopa <roopa@cumulusnetworks.com>
Mon, 12 Nov 2012 20:38:33 +0000 (12:38 -0800)
committerThomas Graf <tgraf@suug.ch>
Mon, 12 Nov 2012 20:51:07 +0000 (21:51 +0100)
commit0bd14aa2d689604b22b1d9f87a57c0e09c21b522
tree44d63f5318e5c7fd4fdf910c0cae8e400ed249ec
parent30d862650bcc26588ddcb07d1126b43e0ec4c121
Add NL_CACHE_AF_ITER support during refill and resync

This patch adds support to iter over all supported families
during cache fill and resync.

The motivation for this was previously introduced at
http://lists.infradead.org/pipermail/libnl/2012-November/000734.html
In short, this patch allows caches to request dump on all supported
families instead of only AF_UNSPEC as done today.

With feedback from thomas this patch makes the iter over all families
conditional on per cache flag NL_CACHE_AF_ITER

Signed-off-by: Thomas Graf <tgraf@suug.ch>
lib/cache.c