[acassen/keepalived] f5e6b4: vrrp: simplify macvlan creation

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <5479dfac6f0c0_16263fef77d0d29c41398@hookshot-fe4-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: f5e6b4ea760d643d1af51e12c70eece486e884bb
      https://github.com/acassen/keepalived/commit/f5e6b4ea760d643d1af51e12c70eece486e884bb
  Author: Thibaut Collet <[email protected]>
  Date:   2014-11-28 (Fri, 28 Nov 2014)

  Changed paths:
    M keepalived/vrrp/vrrp_vmac.c

  Log Message:
  -----------
  vrrp: simplify macvlan creation

Create the macvlan interface in one netlink command rather than three (creation
of the macvlan in netlink_link_add_vmac function, set of the mac address in the
netlink_link_setlladdr function, set macvlan mode in the netlink_link_setmode
function).

This simplification:
1. avoids potential issues if the firt netlink command passes but not the
   next ones
2. reduces number of netlink messages (light optimization)

Signed-off-by: Thibaut Collet <[email protected]>


  Commit: f8863e761dbbf962d5b404243c71fd41a8d382ff
      https://github.com/acassen/keepalived/commit/f8863e761dbbf962d5b404243c71fd41a8d382ff
  Author: Alexandre Cassen <[email protected]>
  Date:   2014-11-29 (Sat, 29 Nov 2014)

  Changed paths:
    M keepalived/vrrp/vrrp_vmac.c

  Log Message:
  -----------
  Merge pull request #110 from 6WIND/master

vrrp: simplify macvlan creation


Compare: https://github.com/acassen/keepalived/compare/33cf76e7539e...f8863e761dbb

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk

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