[PATCH 4/4] link: Add af data compare to link objects

Thomas Graf tgraf at suug.ch
Sat Jan 12 05:46:04 EST 2013


On 01/08/13 at 05:29am, roopa at cumulusnetworks.com wrote:
> From: roopa <roopa at cumulusnetworks.com>
> 
> Today the link compare function does not
> compare af data of a link. We have found a
> need for this to get approriate change callbacks
> when af_data of a link changes.
> 
> This patch adds support to compare af_data
> in link_compare function. This patch today
> only adds support to compare af_data set by
> PROTINFO attributes. It can be extended to
> support compares of af_data set by AF_SPEC
> attributes
> 
> It has been tested for AF_BRIDGE objects.
> In case of AF_BRIDGE objects, this helps with
> bridge port change notification callbacks.
> 
> Signed-off-by: Wilson Kok <wkok at cumulusnetworks.com>
> Signed-off-by: Roopa Prabhu <roopa at cumulusnetworks.com>

This looks good, I'll apply this as soon as the issues with
patch 2/4 have been sorted out.



More information about the libnl mailing list