[acassen/keepalived] 8aa1ec: Don't report error on interface creation/deletion

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <5640ec04c201b_71233f87c24cd2c0689ac@hookshot-fe1-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 8aa1eca389238e6f637b5637e7f53de83821ec23
      https://github.com/acassen/keepalived/commit/8aa1eca389238e6f637b5637e7f53de83821ec23
  Author: Quentin Armitage <[email protected]>
  Date:   2015-11-09 (Mon, 09 Nov 2015)

  Changed paths:
    M keepalived/vrrp/vrrp_netlink.c

  Log Message:
  -----------
  Don't report error on interface creation/deletion

netlink_reflect_filter was returning an error if it didn't already
know about an interface that has just been created. If we don't
know about the interface, simply ignore it. Likewise on interface
deletion, if we don't know about the interface, ignore it.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 84cf733579bd9a2765b593dc527a45a286828f17
      https://github.com/acassen/keepalived/commit/84cf733579bd9a2765b593dc527a45a286828f17
  Author: Quentin Armitage <[email protected]>
  Date:   2015-11-09 (Mon, 09 Nov 2015)

  Changed paths:
    M keepalived/include/vrrp_netlink.h
    M keepalived/vrrp/vrrp_if_config.c
    M keepalived/vrrp/vrrp_netlink.c

  Log Message:
  -----------
  Ensure the first interface's parameters are set when using libnl3

Patch 60217b63242bee37b1c97a04644be6eb5e18b4c4 sets the interface
parameters for each interface, but when using libnl3 there was a
conflict with libnl, causing the parameters not to be set for the
first interface. This patch makes vrrp_netlink.c use libnl3 if it
is available, to avoid the conflict.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 5478226b2f4be1c96d0ae877692d92b9444adfbc
      https://github.com/acassen/keepalived/commit/5478226b2f4be1c96d0ae877692d92b9444adfbc
  Author: Alexandre Cassen <[email protected]>
  Date:   2015-11-09 (Mon, 09 Nov 2015)

  Changed paths:
    M keepalived/include/vrrp_netlink.h
    M keepalived/vrrp/vrrp_if_config.c
    M keepalived/vrrp/vrrp_netlink.c

  Log Message:
  -----------
  Merge pull request #196 from pqarmitage/fixes

Fix interface parameter setting with libnl3 and error message on interface creation/deletion


Compare: https://github.com/acassen/keepalived/compare/a459cc1a8adb...5478226b2f4b

------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.