[acassen/keepalived] 895d66: Remove extraneous log message

pqarmitage <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <582c27c9de13f_5853ff83e67912c55817@hookshot-fe1-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 895d664cef91ed056fef3775ee0b8cd5da8bc310
      https://github.com/acassen/keepalived/commit/895d664cef91ed056fef3775ee0b8cd5da8bc310
  Author: Quentin Armitage <[email protected]>
  Date:   2016-11-16 (Wed, 16 Nov 2016)

  Changed paths:
    M keepalived/vrrp/vrrp.c

  Log Message:
  -----------
  Remove extraneous log message

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


  Commit: 9f327bbf3e86def1055a106eda0633638bda0345
      https://github.com/acassen/keepalived/commit/9f327bbf3e86def1055a106eda0633638bda0345
  Author: David Wilder <[email protected]>
  Date:   2016-11-16 (Wed, 16 Nov 2016)

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

  Log Message:
  -----------
  Resolve "Netlink: error: message truncated" messages

On systems with a page size larger than 4096 keepalived may report:

"Netlink: error: message truncated" messages

This error was reported on a ppc64le in an OpenStack/Nutron environment.
Ppc64le is using a 64k pages size. I found that keepalived's netlink recvmsg
buffer was too small causing messages to be truncated. The size of the read
buffer for the netlink socket should be based on page size however, it should
not exceed 8192. See the comment in the patch.

I tested the fix by creating 100 veth interfaces and verifying the errors
did not return.

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


  Commit: 512e2d324b9ebad5fb4b415a1361f1cab5efa6ec
      https://github.com/acassen/keepalived/commit/512e2d324b9ebad5fb4b415a1361f1cab5efa6ec
  Author: pqarmitage <[email protected]>
  Date:   2016-11-16 (Wed, 16 Nov 2016)

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

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

Fix netlink receive buffer size on systems with page size > 4096


Compare: https://github.com/acassen/keepalived/compare/123ac518680c...512e2d324b9e

------------------------------------------------------------------------------

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