[acassen/keepalived] dbb2ca: vrrp: update struct msghdr

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <573a7aa03cd91_aef3f82fe6eb2a0261fc@hookshot-fe5-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: dbb2cac9139954bd18813e88bfcb622ad3e93c54
      https://github.com/acassen/keepalived/commit/dbb2cac9139954bd18813e88bfcb622ad3e93c54
  Author: Stijn Tintel <[email protected]>
  Date:   2016-05-16 (Mon, 16 May 2016)

  Changed paths:
    M keepalived/vrrp/vrrp_netlink.c

  Log Message:
  -----------
  vrrp: update struct msghdr

The vrrp netlink code assumes an order for the members of struct msghdr.
This breaks recvmsg and sendmsg with musl libc on mips64. Fix this by
using designated initializers instead.

Signed-off-by: Stijn Tintel <[email protected]>


  Commit: eaabcc1b09cccff2f8815d03da4d5778ab6bbd17
      https://github.com/acassen/keepalived/commit/eaabcc1b09cccff2f8815d03da4d5778ab6bbd17
  Author: Quentin Armitage <[email protected]>
  Date:   2016-05-16 (Mon, 16 May 2016)

  Changed paths:
    M keepalived/vrrp/vrrp_netlink.c

  Log Message:
  -----------
  Reinstate initialisation of msghdr fields

Commit dbb2cac removed initialisation of the struct msghdr msg_control,
msg_controllen and msg_flags fields. This commit reinstates initialisation
of those fields.

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


  Commit: 4239edebe7178a4261e8ea3f1106308ecb23ba5e
      https://github.com/acassen/keepalived/commit/4239edebe7178a4261e8ea3f1106308ecb23ba5e
  Author: Quentin Armitage <[email protected]>
  Date:   2016-05-16 (Mon, 16 May 2016)

  Changed paths:
    M genhash/layer4.c
    M keepalived/core/layer4.c
    M keepalived/core/main.c
    M keepalived/vrrp/vrrp_netlink.c
    M lib/signals.c

  Log Message:
  -----------
  Initialise structures by field names

Commit dbb2cac changed initialisation of struct msghdr to be done
by field name. This commit modifies all other structures that are
initialised to be initialised by field name.

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


  Commit: 7c828f4e43324872f22ab684aa824ad7f9940334
      https://github.com/acassen/keepalived/commit/7c828f4e43324872f22ab684aa824ad7f9940334
  Author: Rolf Fokkens <[email protected]>
  Date:   2016-05-17 (Tue, 17 May 2016)

  Changed paths:
    M keepalived/vrrp/vrrp.c

  Log Message:
  -----------
  Detection of priority == 0 seems to be shaded by the af clause above


  Commit: ad04d649478b860dd2e3d07429d8d8c547786ecf
      https://github.com/acassen/keepalived/commit/ad04d649478b860dd2e3d07429d8d8c547786ecf
  Author: Rolf Fokkens <[email protected]>
  Date:   2016-05-17 (Tue, 17 May 2016)

  Changed paths:
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_scheduler.c

  Log Message:
  -----------
  More verbose logging on (effective) priorities


  Commit: 73c875590b471b114bb4a2cebf92c6a0eedf895d
      https://github.com/acassen/keepalived/commit/73c875590b471b114bb4a2cebf92c6a0eedf895d
  Author: Quentin Armitage <[email protected]>
  Date:   2016-05-17 (Tue, 17 May 2016)

  Changed paths:
    M keepalived/include/vrrp_scheduler.h
    M keepalived/vrrp/vrrp_scheduler.c
    M keepalived/vrrp/vrrp_snmp.c

  Log Message:
  -----------
  Log changes to effective priority made via SNMP

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


  Commit: 0b4ce8c39c5e0d8e5aa6eb20ef00220931bc5d6c
      https://github.com/acassen/keepalived/commit/0b4ce8c39c5e0d8e5aa6eb20ef00220931bc5d6c
  Author: Alexandre Cassen <[email protected]>
  Date:   2016-05-17 (Tue, 17 May 2016)

  Changed paths:
    M genhash/layer4.c
    M keepalived/core/layer4.c
    M keepalived/core/main.c
    M keepalived/include/vrrp_scheduler.h
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_netlink.c
    M keepalived/vrrp/vrrp_scheduler.c
    M keepalived/vrrp/vrrp_snmp.c
    M lib/signals.c

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

Initialise structs by member names


Compare: https://github.com/acassen/keepalived/compare/384ebc3c9dd8...0b4ce8c39c5e

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j

_______________________________________________
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.