Hello community, here is the log from the commit of package libteam for openSUSE:Factory checked in at 2015-08-10 09:16:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libteam (Old) and /work/SRC/openSUSE:Factory/.libteam.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libteam" Changes: -------- --- /work/SRC/openSUSE:Factory/libteam/libteam.changes 2015-03-29 20:18:19.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libteam.new/libteam.changes 2015-08-10 09:16:19.000000000 +0200 @@ -1,0 +2,7 @@ +Fri Jul 31 11:30:18 UTC 2015 - [email protected] + +- Update to new upstream release 1.17 +* teamd: lw: nsna_ping: fix NA RX and ARP RX handling +* libteam: ifinfo: fix rtnl dellink handling + +------------------------------------------------------------------- Old: ---- libteam-1.16.tar.gz New: ---- libteam-1.17.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libteam.spec ++++++ --- /var/tmp/diff_new_pack.DzLlWo/_old 2015-08-10 09:16:20.000000000 +0200 +++ /var/tmp/diff_new_pack.DzLlWo/_new 2015-08-10 09:16:20.000000000 +0200 @@ -17,7 +17,7 @@ Name: libteam -Version: 1.16 +Version: 1.17 Release: 0 Summary: Utilities for controlling 802.1AX team network device License: LGPL-2.1+ ++++++ libteam-1.16.tar.gz -> libteam-1.17.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/README new/libteam-1.17/README --- old/libteam-1.16/README 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/README 2015-04-02 12:01:05.000000000 +0200 @@ -25,7 +25,7 @@ ## License -Copyright (C) 2011-2013 Jiri Pirko <[email protected]> +Copyright (C) 2011-2015 Jiri Pirko <[email protected]> libteam is distributed under GNU Lesser General Public License version 2.1. See the file "COPYING" in the source distribution for information on terms & conditions for accessing and otherwise using libteam. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/binding/python/team/core.py new/libteam-1.17/binding/python/team/core.py --- old/libteam-1.16/binding/python/team/core.py 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/binding/python/team/core.py 2015-04-02 12:01:05.000000000 +0200 @@ -1,5 +1,5 @@ """ - Copyright (C) 2011-2013 Jiri Pirko <[email protected]> + Copyright (C) 2011-2015 Jiri Pirko <[email protected]> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/configure new/libteam-1.17/configure --- old/libteam-1.16/configure 2015-03-24 15:58:10.000000000 +0100 +++ new/libteam-1.17/configure 2015-04-02 12:05:36.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libteam 1.16. +# Generated by GNU Autoconf 2.69 for libteam 1.17. # # Report bugs to <[email protected]>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='libteam' PACKAGE_TARNAME='libteam' -PACKAGE_VERSION='1.16' -PACKAGE_STRING='libteam 1.16' +PACKAGE_VERSION='1.17' +PACKAGE_STRING='libteam 1.17' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1348,7 +1348,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libteam 1.16 to adapt to many kinds of systems. +\`configure' configures libteam 1.17 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1418,7 +1418,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libteam 1.16:";; + short | recursive ) echo "Configuration of libteam 1.17:";; esac cat <<\_ACEOF @@ -1547,7 +1547,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libteam configure 1.16 +libteam configure 1.17 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1916,7 +1916,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libteam $as_me 1.16, which was +It was created by libteam $as_me 1.17, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2782,7 +2782,7 @@ # Define the identity of the package. PACKAGE='libteam' - VERSION='1.16' + VERSION='1.17' cat >>confdefs.h <<_ACEOF @@ -4030,7 +4030,7 @@ LIBTEAM_CURRENT=7 -LIBTEAM_REVISION=1 +LIBTEAM_REVISION=2 LIBTEAM_AGE=2 @@ -13758,7 +13758,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libteam $as_me 1.16, which was +This file was extended by libteam $as_me 1.17, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -13824,7 +13824,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libteam config.status 1.16 +libteam config.status 1.17 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/configure.ac new/libteam-1.17/configure.ac --- old/libteam-1.16/configure.ac 2015-03-24 15:56:13.000000000 +0100 +++ new/libteam-1.17/configure.ac 2015-04-02 12:04:30.000000000 +0200 @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT([libteam], [1.16], [[email protected]]) +AC_INIT([libteam], [1.17], [[email protected]]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h]) @@ -24,7 +24,7 @@ # release, then set age to 0. AC_SUBST(LIBTEAM_CURRENT, 7) -AC_SUBST(LIBTEAM_REVISION, 1) +AC_SUBST(LIBTEAM_REVISION, 2) AC_SUBST(LIBTEAM_AGE, 2) AC_SUBST(LIBTEAMDCTL_CURRENT, 1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/examples/python/team_daemon.py new/libteam-1.17/examples/python/team_daemon.py --- old/libteam-1.16/examples/python/team_daemon.py 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/examples/python/team_daemon.py 2015-04-02 12:01:05.000000000 +0200 @@ -4,7 +4,7 @@ Note that this application spawns its own team device instead of connecting to an existing one. - Copyright (C) 2011-2013 Jiri Pirko <[email protected]> + Copyright (C) 2011-2015 Jiri Pirko <[email protected]> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/examples/python/team_monitor.py new/libteam-1.17/examples/python/team_monitor.py --- old/libteam-1.16/examples/python/team_monitor.py 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/examples/python/team_monitor.py 2015-04-02 12:01:05.000000000 +0200 @@ -2,7 +2,7 @@ """ Team monitor - Copyright (C) 2011-2013 Jiri Pirko <[email protected]> + Copyright (C) 2011-2015 Jiri Pirko <[email protected]> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/examples/team_manual_control.c new/libteam-1.17/examples/team_manual_control.c --- old/libteam-1.16/examples/team_manual_control.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/examples/team_manual_control.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * team_manual_control.c - Network team device dummy manual control - * Copyright (C) 2011-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2011-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/examples/team_monitor.c new/libteam-1.17/examples/team_monitor.c --- old/libteam-1.16/examples/team_monitor.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/examples/team_monitor.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * team_monitor.c - Network team device dummy event monitor - * Copyright (C) 2011-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2011-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/include/private/list.h new/libteam-1.17/include/private/list.h --- old/libteam-1.16/include/private/list.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/include/private/list.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * list.c - Doubly linked list implementation - * Copyright (C) 2011-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2011-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/include/private/misc.h new/libteam-1.17/include/private/misc.h --- old/libteam-1.16/include/private/misc.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/include/private/misc.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * misc.c - Miscellaneous helpers - * Copyright (C) 2011-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2011-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/include/team.h new/libteam-1.17/include/team.h --- old/libteam-1.16/include/team.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/include/team.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * team.h - Network team device driver library - * Copyright (C) 2011-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2011-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/include/teamdctl.h new/libteam-1.17/include/teamdctl.h --- old/libteam-1.16/include/teamdctl.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/include/teamdctl.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamdctl.h - Teamd daemon control library - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/libteam/ifinfo.c new/libteam-1.17/libteam/ifinfo.c --- old/libteam-1.16/libteam/ifinfo.c 2014-12-18 20:00:00.000000000 +0100 +++ new/libteam-1.17/libteam/ifinfo.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * ifinfo.c - Wrapper for rtnetlink interface info - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -271,6 +271,7 @@ struct rtnl_link *link; struct team_ifinfo *ifinfo; uint32_t ifindex; + int err; ifinfo_destroy_removed(th); @@ -280,6 +281,17 @@ ifinfo = ifinfo_find_create(th, ifindex); if (!ifinfo) return; + + /* It might happen that dellink message comes even in case the device + * is not actually removed. For example in case of bridge port removal. + * So better to check actual state before taking actions + */ + err = rtnl_link_get_kernel(th->nl_cli.sock, ifindex, NULL, &link); + if (!err) { + rtnl_link_put(link); + return; + } + clear_last_changed(th); set_changed(ifinfo, CHANGED_REMOVED); set_call_change_handlers(th, TEAM_IFINFO_CHANGE); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/libteam/libteam.c new/libteam-1.17/libteam/libteam.c --- old/libteam-1.16/libteam/libteam.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/libteam/libteam.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * libteam.c - Network team device driver library - * Copyright (C) 2011-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2011-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/libteam/nl_updates.h new/libteam-1.17/libteam/nl_updates.h --- old/libteam-1.16/libteam/nl_updates.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/libteam/nl_updates.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * lib/nl_updates.h - Updates to libnl which are not synced from kernel yet - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/libteam/options.c new/libteam-1.17/libteam/options.c --- old/libteam-1.16/libteam/options.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/libteam/options.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * options.c - Wrapper for team generic netlink option-related communication - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/libteam/ports.c new/libteam-1.17/libteam/ports.c --- old/libteam-1.16/libteam/ports.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/libteam/ports.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * ports.c - Wrapper for team generic netlink port-related communication - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/libteam/stringify.c new/libteam-1.17/libteam/stringify.c --- old/libteam-1.16/libteam/stringify.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/libteam/stringify.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * stringify.c - Helpers for conversion team objects to string - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/libteam/team_private.h new/libteam-1.17/libteam/team_private.h --- old/libteam-1.16/libteam/team_private.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/libteam/team_private.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * team-private.h - Network team device driver library private header - * Copyright (C) 2011-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2011-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/libteamdctl/cli_dbus.c new/libteam-1.17/libteamdctl/cli_dbus.c --- old/libteam-1.16/libteamdctl/cli_dbus.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/libteamdctl/cli_dbus.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * cli_dbus.c - Teamd daemon control library D-Bus client - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/libteamdctl/cli_usock.c new/libteam-1.17/libteamdctl/cli_usock.c --- old/libteam-1.16/libteamdctl/cli_usock.c 2014-12-19 16:13:22.000000000 +0100 +++ new/libteam-1.17/libteamdctl/cli_usock.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * cli_usock.c - Teamd daemon control library teamd Unix Domain socket client - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/libteamdctl/libteamdctl.c new/libteam-1.17/libteamdctl/libteamdctl.c --- old/libteam-1.16/libteamdctl/libteamdctl.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/libteamdctl/libteamdctl.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * libteamdctl.c - Teamd daemon control library - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/libteamdctl/teamdctl_private.h new/libteam-1.17/libteamdctl/teamdctl_private.h --- old/libteam-1.16/libteamdctl/teamdctl_private.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/libteamdctl/teamdctl_private.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamdctl_private.h - Teamd daemon control library private header - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/man/teamdctl.8 new/libteam-1.17/man/teamdctl.8 --- old/libteam-1.16/man/teamdctl.8 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/man/teamdctl.8 2015-04-02 12:01:05.000000000 +0200 @@ -55,6 +55,9 @@ Finds state item in JSON state document and sets its value by value parameter. This is available only for a limited number of paths: .RS 7 .PP +.BR "setup.debug_level "\(em +User can set debug level. Higher level is more verbose. +.PP .BR "ports.PORTIFNAME.runner.aggregator.selected "\(em This is available for lacp runner. User can manually select the aggregator. .PP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/redhat/initscripts/network-scripts/ifdown-Team new/libteam-1.17/teamd/redhat/initscripts/network-scripts/ifdown-Team --- old/libteam-1.16/teamd/redhat/initscripts/network-scripts/ifdown-Team 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/redhat/initscripts/network-scripts/ifdown-Team 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2012-2013 Jiri Pirko <[email protected]> +# Copyright (C) 2012-2015 Jiri Pirko <[email protected]> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/redhat/initscripts/network-scripts/ifdown-TeamPort new/libteam-1.17/teamd/redhat/initscripts/network-scripts/ifdown-TeamPort --- old/libteam-1.16/teamd/redhat/initscripts/network-scripts/ifdown-TeamPort 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/redhat/initscripts/network-scripts/ifdown-TeamPort 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2012-2014 Jiri Pirko <[email protected]> +# Copyright (C) 2012-2015 Jiri Pirko <[email protected]> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/redhat/initscripts/network-scripts/ifup-Team new/libteam-1.17/teamd/redhat/initscripts/network-scripts/ifup-Team --- old/libteam-1.16/teamd/redhat/initscripts/network-scripts/ifup-Team 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/redhat/initscripts/network-scripts/ifup-Team 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2012-2013 Jiri Pirko <[email protected]> +# Copyright (C) 2012-2015 Jiri Pirko <[email protected]> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/redhat/initscripts/network-scripts/ifup-TeamPort new/libteam-1.17/teamd/redhat/initscripts/network-scripts/ifup-TeamPort --- old/libteam-1.16/teamd/redhat/initscripts/network-scripts/ifup-TeamPort 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/redhat/initscripts/network-scripts/ifup-TeamPort 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2012-2014 Jiri Pirko <[email protected]> +# Copyright (C) 2012-2015 Jiri Pirko <[email protected]> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/redhat/initscripts_systemd/network-scripts/ifdown-Team new/libteam-1.17/teamd/redhat/initscripts_systemd/network-scripts/ifdown-Team --- old/libteam-1.16/teamd/redhat/initscripts_systemd/network-scripts/ifdown-Team 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/redhat/initscripts_systemd/network-scripts/ifdown-Team 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2012-2013 Jiri Pirko <[email protected]> +# Copyright (C) 2012-2015 Jiri Pirko <[email protected]> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/redhat/initscripts_systemd/network-scripts/ifdown-TeamPort new/libteam-1.17/teamd/redhat/initscripts_systemd/network-scripts/ifdown-TeamPort --- old/libteam-1.16/teamd/redhat/initscripts_systemd/network-scripts/ifdown-TeamPort 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/redhat/initscripts_systemd/network-scripts/ifdown-TeamPort 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2012-2014 Jiri Pirko <[email protected]> +# Copyright (C) 2012-2015 Jiri Pirko <[email protected]> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/redhat/initscripts_systemd/network-scripts/ifup-Team new/libteam-1.17/teamd/redhat/initscripts_systemd/network-scripts/ifup-Team --- old/libteam-1.16/teamd/redhat/initscripts_systemd/network-scripts/ifup-Team 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/redhat/initscripts_systemd/network-scripts/ifup-Team 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2012-2013 Jiri Pirko <[email protected]> +# Copyright (C) 2012-2015 Jiri Pirko <[email protected]> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/redhat/initscripts_systemd/network-scripts/ifup-TeamPort new/libteam-1.17/teamd/redhat/initscripts_systemd/network-scripts/ifup-TeamPort --- old/libteam-1.16/teamd/redhat/initscripts_systemd/network-scripts/ifup-TeamPort 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/redhat/initscripts_systemd/network-scripts/ifup-TeamPort 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2012-2014 Jiri Pirko <[email protected]> +# Copyright (C) 2012-2015 Jiri Pirko <[email protected]> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd.c new/libteam-1.17/teamd/teamd.c --- old/libteam-1.16/teamd/teamd.c 2015-03-19 09:39:34.000000000 +0100 +++ new/libteam-1.17/teamd/teamd.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd.c - Network team device daemon - * Copyright (C) 2011-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2011-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd.h new/libteam-1.17/teamd/teamd.h --- old/libteam-1.16/teamd/teamd.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd.h - Network team device daemon - * Copyright (C) 2011-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2011-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_balancer.c new/libteam-1.17/teamd/teamd_balancer.c --- old/libteam-1.16/teamd/teamd_balancer.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_balancer.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_balancer.h - Load balancer for teamd - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_bpf_chef.c new/libteam-1.17/teamd/teamd_bpf_chef.c --- old/libteam-1.16/teamd/teamd_bpf_chef.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_bpf_chef.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_bpf_chef.c - Cooking BPF functions for teamd - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_bpf_chef.h new/libteam-1.17/teamd/teamd_bpf_chef.h --- old/libteam-1.16/teamd/teamd_bpf_chef.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_bpf_chef.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_bpf_chef.h - Cooking BPF functions for teamd - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_common.c new/libteam-1.17/teamd/teamd_common.c --- old/libteam-1.16/teamd/teamd_common.c 2015-03-18 13:40:10.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_common.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_common.c - Common teamd functions - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_config.c new/libteam-1.17/teamd/teamd_config.c --- old/libteam-1.16/teamd/teamd_config.c 2014-12-19 16:18:37.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_config.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_config.c - Teamd configuration frontend - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_config.h new/libteam-1.17/teamd/teamd_config.h --- old/libteam-1.16/teamd/teamd_config.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_config.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_config.h - Teamd configuration frontend - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_ctl.c new/libteam-1.17/teamd/teamd_ctl.c --- old/libteam-1.16/teamd/teamd_ctl.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_ctl.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_ctl.c - Teamd control subsustem - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_ctl.h new/libteam-1.17/teamd/teamd_ctl.h --- old/libteam-1.16/teamd/teamd_ctl.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_ctl.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_ctl.h - Teamd control subsystem - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_dbus.c new/libteam-1.17/teamd/teamd_dbus.c --- old/libteam-1.16/teamd/teamd_dbus.c 2014-12-19 16:19:43.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_dbus.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_dbus.c - Teamd dbus api - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_dbus.h new/libteam-1.17/teamd/teamd_dbus.h --- old/libteam-1.16/teamd/teamd_dbus.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_dbus.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_dbus.h - Teamd dbus api - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_dbus_common.h new/libteam-1.17/teamd/teamd_dbus_common.h --- old/libteam-1.16/teamd/teamd_dbus_common.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_dbus_common.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_dbus_common.h - Teamd dbus api common things - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_events.c new/libteam-1.17/teamd/teamd_events.c --- old/libteam-1.16/teamd/teamd_events.c 2015-03-19 09:39:34.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_events.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_events.c - Infrastructure for watching all sorts of events - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_hash_func.c new/libteam-1.17/teamd/teamd_hash_func.c --- old/libteam-1.16/teamd/teamd_hash_func.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_hash_func.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_hash_func.c - Hash function preparation for teamd - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_ifinfo_watch.c new/libteam-1.17/teamd/teamd_ifinfo_watch.c --- old/libteam-1.16/teamd/teamd_ifinfo_watch.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_ifinfo_watch.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_ifinfo_watch.c - Infrastructure for watching ifinfo changes - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_json.c new/libteam-1.17/teamd/teamd_json.c --- old/libteam-1.16/teamd/teamd_json.c 2014-12-19 16:20:58.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_json.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_json.c - Teamd common json stuff - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_json.h new/libteam-1.17/teamd/teamd_json.h --- old/libteam-1.16/teamd/teamd_json.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_json.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_json.h - Teamd common json related things - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_link_watch.c new/libteam-1.17/teamd/teamd_link_watch.c --- old/libteam-1.16/teamd/teamd_link_watch.c 2015-03-16 11:50:25.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_link_watch.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_link_watch.c - Team port link watchers - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_lw_arp_ping.c new/libteam-1.17/teamd/teamd_lw_arp_ping.c --- old/libteam-1.16/teamd/teamd_lw_arp_ping.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_lw_arp_ping.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_lw_arp_ping.c - Team port arp ping link watcher - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * Copyright (C) 2014 Erik Hugne <[email protected]> * * This library is free software; you can redistribute it and/or @@ -55,6 +55,8 @@ in_struct_offset(struct arphdr, ar_op) static struct sock_filter arp_rpl_flt[] = { + BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_PROTOCOL), + BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETH_P_ARP, 0, 4), BPF_STMT(BPF_LD + BPF_H + BPF_ABS, OFFSET_ARP_OP_CODE), BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ARPOP_REPLY, 1, 0), BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ARPOP_REQUEST, 0, 1), @@ -68,6 +70,8 @@ }; static struct sock_filter arp_novlan_rpl_flt[] = { + BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_PROTOCOL), + BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETH_P_ARP, 0, 6), BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_VLAN_TAG_PRESENT), BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 0, 0, 4), BPF_STMT(BPF_LD + BPF_H + BPF_ABS, OFFSET_ARP_OP_CODE), @@ -83,6 +87,8 @@ }; static struct sock_filter arp_vlan_rpl_flt[] = { + BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_PROTOCOL), + BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETH_P_ARP, 0, 8), BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_VLAN_TAG_PRESENT), BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 0, 6, 0), BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_VLAN_TAG), @@ -95,7 +101,7 @@ }; /* this hack replaces vlanid value in filter code */ -#define SET_FILTER_VLANID(fprog, vlanid) (fprog)->filter[3].k = vlanid +#define SET_FILTER_VLANID(fprog, vlanid) (fprog)->filter[5].k = vlanid static const struct sock_fprog arp_vlan_rpl_fprog = { .len = ARRAY_SIZE(arp_vlan_rpl_flt), @@ -142,7 +148,7 @@ } return teamd_packet_sock_open(&psr_ppriv->sock, psr_ppriv->common.tdport->ifindex, - htons(ETH_P_ARP), &fprog, &arp_rpl_fprog); + htons(ETH_P_ALL), &fprog, &arp_rpl_fprog); } static void lw_ap_sock_close(struct lw_psr_port_priv *psr_ppriv) @@ -292,6 +298,7 @@ 0, (struct sockaddr *) &ll_bcast, sizeof(ll_bcast)); } else { + ll_bcast.sll_protocol = htons(ETH_P_ARP); return teamd_sendto(psr_ppriv->sock, &ap, sizeof(ap), 0, (struct sockaddr *) &ll_bcast, sizeof(ll_bcast)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_lw_ethtool.c new/libteam-1.17/teamd/teamd_lw_ethtool.c --- old/libteam-1.16/teamd/teamd_lw_ethtool.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_lw_ethtool.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_lw_ethtool.c - Team port ethtool link watcher - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * Copyright (C) 2014 Erik Hugne <[email protected]> * * This library is free software; you can redistribute it and/or diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_lw_nsna_ping.c new/libteam-1.17/teamd/teamd_lw_nsna_ping.c --- old/libteam-1.16/teamd/teamd_lw_nsna_ping.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_lw_nsna_ping.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_lw_nsna_ping.c - Team port IPv6 NS/NA ping link watcher - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * Copyright (C) 2014 Erik Hugne <[email protected]> * * This library is free software; you can redistribute it and/or @@ -110,6 +110,8 @@ in_struct_offset(struct nd_neighbor_advert, nd_na_type) static struct sock_filter na_flt[] = { + BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_PROTOCOL), + BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETH_P_IPV6, 0, 5), BPF_STMT(BPF_LD + BPF_B + BPF_ABS, OFFSET_NEXT_HEADER), BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, IPPROTO_ICMPV6, 0, 3), BPF_STMT(BPF_LD + BPF_B + BPF_ABS, OFFSET_NA_TYPE), @@ -136,7 +138,7 @@ */ err = teamd_packet_sock_open(&psr_ppriv->sock, psr_ppriv->common.tdport->ifindex, - htons(ETH_P_IPV6), &na_fprog, NULL); + htons(ETH_P_ALL), &na_fprog, NULL); if (err) return err; err = icmp6_sock_open(&nsnap_ppriv->tx_sock); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_lw_psr.c new/libteam-1.17/teamd/teamd_lw_psr.c --- old/libteam-1.16/teamd/teamd_lw_psr.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_lw_psr.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_lw_psr.c - Team port periodic send/receive link watcher - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * Copyright (C) 2014 Erik Hugne <[email protected]> * * This library is free software; you can redistribute it and/or diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_option_watch.c new/libteam-1.17/teamd/teamd_option_watch.c --- old/libteam-1.16/teamd/teamd_option_watch.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_option_watch.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_option_watch.c - Infrastructure for watching option changes - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_per_port.c new/libteam-1.17/teamd/teamd_per_port.c --- old/libteam-1.16/teamd/teamd_per_port.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_per_port.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_per_port.c - Per-port data structures and actions - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_phys_port_check.c new/libteam-1.17/teamd/teamd_phys_port_check.c --- old/libteam-1.16/teamd/teamd_phys_port_check.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_phys_port_check.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_phys_port_check.c - Physical port checking support for teamd - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_phys_port_check.h new/libteam-1.17/teamd/teamd_phys_port_check.h --- old/libteam-1.16/teamd/teamd_phys_port_check.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_phys_port_check.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_phys_port_check.h - Physical port checking support for teamd - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_runner_activebackup.c new/libteam-1.17/teamd/teamd_runner_activebackup.c --- old/libteam-1.16/teamd/teamd_runner_activebackup.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_runner_activebackup.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_runner_activebackup.c - Active-backup runners - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_runner_basic_ones.c new/libteam-1.17/teamd/teamd_runner_basic_ones.c --- old/libteam-1.16/teamd/teamd_runner_basic_ones.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_runner_basic_ones.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_runner_basic_ones.c - Basic team runners - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_runner_lacp.c new/libteam-1.17/teamd/teamd_runner_lacp.c --- old/libteam-1.16/teamd/teamd_runner_lacp.c 2015-03-19 09:39:34.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_runner_lacp.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_runner_lacp.c - Teamd 802.3ad LACP runner implementation - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_runner_loadbalance.c new/libteam-1.17/teamd/teamd_runner_loadbalance.c --- old/libteam-1.16/teamd/teamd_runner_loadbalance.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_runner_loadbalance.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_runner_loadbalance.c - Load-balancing runners - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_state.c new/libteam-1.17/teamd/teamd_state.c --- old/libteam-1.16/teamd/teamd_state.c 2014-12-19 16:23:01.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_state.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_state.c - Teamd state - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_state.h new/libteam-1.17/teamd/teamd_state.h --- old/libteam-1.16/teamd/teamd_state.h 2015-03-16 11:32:44.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_state.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_state.h - Teamd state frontend - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_usock.c new/libteam-1.17/teamd/teamd_usock.c --- old/libteam-1.16/teamd/teamd_usock.c 2014-12-19 16:23:29.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_usock.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_usock.c - Teamd unix socket api - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_usock.h new/libteam-1.17/teamd/teamd_usock.h --- old/libteam-1.16/teamd/teamd_usock.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_usock.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_usock.h - Teamd unix socket api - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_usock_common.h new/libteam-1.17/teamd/teamd_usock_common.h --- old/libteam-1.16/teamd/teamd_usock_common.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_usock_common.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_usock_common.h - Teamd unix socket api common things - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_workq.c new/libteam-1.17/teamd/teamd_workq.c --- old/libteam-1.16/teamd/teamd_workq.c 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_workq.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_workq.c - Teamd work queue - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/teamd/teamd_workq.h new/libteam-1.17/teamd/teamd_workq.h --- old/libteam-1.16/teamd/teamd_workq.h 2014-12-17 11:51:38.000000000 +0100 +++ new/libteam-1.17/teamd/teamd_workq.h 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamd_workq.h - Teamd work queue - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/utils/teamdctl.c new/libteam-1.17/utils/teamdctl.c --- old/libteam-1.16/utils/teamdctl.c 2015-03-16 11:50:25.000000000 +0100 +++ new/libteam-1.17/utils/teamdctl.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamdctl.c - Network team device daemon control tool - * Copyright (C) 2013 Jiri Pirko <[email protected]> + * Copyright (C) 2013-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libteam-1.16/utils/teamnl.c new/libteam-1.17/utils/teamnl.c --- old/libteam-1.16/utils/teamnl.c 2014-12-18 19:45:43.000000000 +0100 +++ new/libteam-1.17/utils/teamnl.c 2015-04-02 12:01:05.000000000 +0200 @@ -1,6 +1,6 @@ /* * teamnl.c - Team device Netlink tool - * Copyright (C) 2012-2013 Jiri Pirko <[email protected]> + * Copyright (C) 2012-2015 Jiri Pirko <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public
