Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1336052

Re: [PATCH net-next] net: bridge: log port STP state on change

From Stephen Hemminger <stephen@networkplumber.org>
Newsgroups linux.kernel
Subject Re: [PATCH net-next] net: bridge: log port STP state on change
Date 2016-02-17 05:30 +0100
Message-ID <r31Ut-17Z-3@gated-at.bofh.it> (permalink)
References <r2PzY-18K-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 16 Feb 2016 10:09:51 -0500
Vivien Didelot <vivien.didelot@savoirfairelinux.com> wrote:

> Remove the shared br_log_state function and print the info directly in
> br_set_state, where the net_bridge_port state is actually changed.
> 
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
> ---

Looks good and fixes the weird case where set_state fails then a log
message would still be printed.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next] net: bridge: log port STP state on change Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-02-16 16:20 +0100
  Re: [PATCH net-next] net: bridge: log port STP state on change Stephen Hemminger <stephen@networkplumber.org> - 2016-02-17 05:30 +0100
  Re: [PATCH net-next] net: bridge: log port STP state on change Ido Schimmel <idosch@mellanox.com> - 2016-02-17 13:50 +0100
  Re: [PATCH net-next] net: bridge: log port STP state on change David Miller <davem@davemloft.net> - 2016-02-18 20:30 +0100

csiph-web