[acassen/keepalived] 9b85d9: Use netlink reported hardware address length for u...

Quentin Armitage <[email protected]> Wed, 30 Jan 2019 05:50:54 -0800
Newsgroups gmane.linux.keepalived.devel
Message-ID <acassen/keepalived/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 9b85d9ae77bd862e0aee5fc38617a9d0b55f5706
      https://github.com/acassen/keepalived/commit/9b85d9ae77bd862e0aee5fc38617a9d0b55f5706
  Author: Quentin Armitage <[email protected]>
  Date:   2019-01-29 (Tue, 29 Jan 2019)

  Changed paths:
    M keepalived/vrrp/vrrp_ndisc.c

  Log Message:
  -----------
  Use netlink reported hardware address length for unsolicited NAs

ETH_ALEN is correct for Ethernet type interaces, but is not right
for Infiniband interfaces.

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


  Commit: a04d33af5058ffcc1f1b46df01cc5ba8e0dd2246
      https://github.com/acassen/keepalived/commit/a04d33af5058ffcc1f1b46df01cc5ba8e0dd2246
  Author: Quentin Armitage <[email protected]>
  Date:   2019-01-29 (Tue, 29 Jan 2019)

  Changed paths:
    M keepalived/vrrp/vrrp_ndisc.c

  Log Message:
  -----------
  Minor tidying up of opening gratuitous NA socket

Update vrrp_ndisc.c to match gratuitous ARP changes in commit
3c96e7c - "Minor tidying up of opening gratuitous ARP socket".

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


  Commit: 6798d7ad1e24ee1cb762630c88a3ec76ef04af43
      https://github.com/acassen/keepalived/commit/6798d7ad1e24ee1cb762630c88a3ec76ef04af43
  Author: Quentin Armitage <[email protected]>
  Date:   2019-01-29 (Tue, 29 Jan 2019)

  Changed paths:
    M keepalived/vrrp/vrrp_arp.c
    M keepalived/vrrp/vrrp_ndisc.c

  Log Message:
  -----------
  Make gratuitous ARP/NA sockets non blocking

keepalived shouldn't block when sending gratutious ARP/NA messages.
It is better to lose the messages than for keepalived to block, so
set the sockets non blocking.

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


  Commit: f17bcec3584dfe777b71a20b22c902d908abb12e
      https://github.com/acassen/keepalived/commit/f17bcec3584dfe777b71a20b22c902d908abb12e
  Author: Quentin Armitage <[email protected]>
  Date:   2019-01-29 (Tue, 29 Jan 2019)

  Changed paths:
    M keepalived/vrrp/vrrp_arp.c
    M keepalived/vrrp/vrrp_ndisc.c

  Log Message:
  -----------
  Use netlink provided broadcast address for gratuitous ARP

If an interface has a non-standard broadcast address, we should
honour it.

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


  Commit: 16370320280de7d7d9d950aa30a2fd7f8dab216d
      https://github.com/acassen/keepalived/commit/16370320280de7d7d9d950aa30a2fd7f8dab216d
  Author: Quentin Armitage <[email protected]>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M configure.ac
    M keepalived/core/track_process.c

  Log Message:
  -----------
  Fix building on pre 3.10 kernels re track_process

Issue #1119 reported that keepalived wouldn't build on CentOS 6.

Various PROC_EVENT_* declarations were assumed to exist, some of which
were not introduced until Linux v3.10. Most of them are not needed, but
PROC_EVENT_COMM is used by the track_process code.

This commit now checks for the existence of the PROC_EVENT_* declarations,
but since keepalived uses PROC_EVENT_COMM, track_process is not supported
prior to Linux v3.2.

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


  Commit: 975315bcf886c32de54b38f363a6be3138dba27a
      https://github.com/acassen/keepalived/commit/975315bcf886c32de54b38f363a6be3138dba27a
  Author: Quentin Armitage <[email protected]>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M configure.ac
    M doc/man/man5/keepalived.conf.5
    M keepalived/core/track_process.c

  Log Message:
  -----------
  Make track_process work prior to Linux 3.2, but with limitations

Prior to Linux 3.2 the PROC_EVENT_COMM event did not exist, which
means that keepalived is unable to detect changes to process name
(/proc/PID/comm) prior to Linux 3.2. most processes do not change
their process name, and so using track_process prior to Linux 3.2
is safe so long as the monitored processes are known not to change
their process name.

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


  Commit: 2d48f816af518fb1f7982668bef698652261f31b
      https://github.com/acassen/keepalived/commit/2d48f816af518fb1f7982668bef698652261f31b
  Author: Quentin Armitage <[email protected]>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Stop configure failing when nftables is not supported

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


  Commit: 954cee8dc6e977a75e55d25fa937b41fd089621e
      https://github.com/acassen/keepalived/commit/954cee8dc6e977a75e55d25fa937b41fd089621e
  Author: Quentin Armitage <[email protected]>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M configure.ac
    M doc/man/man5/keepalived.conf.5
    M keepalived/core/track_process.c
    M keepalived/vrrp/vrrp_arp.c
    M keepalived/vrrp/vrrp_ndisc.c

  Log Message:
  -----------
  Merge pull request #1120 from pqarmitage/updates

Tidy up gratuitous ARP/NA, use netlink provided broadcast address, and fix track_process on pre 3.10 kernels


Compare: https://github.com/acassen/keepalived/compare/8cdbdb16cbca...954cee8dc6e9