From 667ef1d766510e6d2173dfe99e420cbe7da95857 Mon Sep 17 00:00:00 2001 From: Shuotian Cheng Date: Thu, 2 Mar 2017 13:34:37 -0800 Subject: [PATCH] [libteam]: Add 0002-libteam-Temporarily-remove-redundant-debug-mes.patch (#357) Signed-off-by: Shuotian Cheng --- ...mporarily-remove-redundant-debug-mes.patch | 25 +++++++++++++++++++ src/libteam/Makefile | 1 + 2 files changed, 26 insertions(+) create mode 100644 src/libteam/0002-libteam-Temporarily-remove-redundant-debug-mes.patch diff --git a/src/libteam/0002-libteam-Temporarily-remove-redundant-debug-mes.patch b/src/libteam/0002-libteam-Temporarily-remove-redundant-debug-mes.patch new file mode 100644 index 0000000000..a640f40e6e --- /dev/null +++ b/src/libteam/0002-libteam-Temporarily-remove-redundant-debug-mes.patch @@ -0,0 +1,25 @@ +From a5c8f3f41c575ebb7018e67cb3d1f724f0685850 Mon Sep 17 00:00:00 2001 +From: Shuotian Cheng +Date: Mon, 27 Feb 2017 14:21:09 -0800 +Subject: [PATCH] libteam: Temporarily remove redundant debug messages + +--- + teamd/teamd_runner_lacp.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/teamd/teamd_runner_lacp.c b/teamd/teamd_runner_lacp.c +index 9c77fae..5e37a4c 100644 +--- a/teamd/teamd_runner_lacp.c ++++ b/teamd/teamd_runner_lacp.c +@@ -922,8 +922,6 @@ static void lacp_port_actor_update(struct lacp_port *lacp_port) + state |= INFO_STATE_DEFAULTED; + if (teamd_port_count(lacp_port->ctx) > 0) + state |= INFO_STATE_AGGREGATION; +- teamd_log_dbg("%s: lacp info state: 0x%02X.", lacp_port->tdport->ifname, +- state); + lacp_port->actor.state = state; + } + +-- +2.1.4 + diff --git a/src/libteam/Makefile b/src/libteam/Makefile index e6864596c9..c2b8a09cff 100644 --- a/src/libteam/Makefile +++ b/src/libteam/Makefile @@ -16,6 +16,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% : # Apply patch git apply ../0001-libteam-Add-team_get_port_enabled-function.patch + git apply ../0002-libteam-Temporarily-remove-redundant-debug-mes.patch popd # Obtain debian packaging