[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140728.173014.1155282765778106893.davem@davemloft.net>
Date: Mon, 28 Jul 2014 17:30:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: david.stevens@...cle.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] sunvnet: only use connected ports when sending
From: David L Stevens <david.stevens@...cle.com>
Date: Fri, 25 Jul 2014 10:30:11 -0400
> The sunvnet driver doesn't check whether or not a port is connected when
> transmitting packets, which results in failures if a port fails to connect
> (e.g., due to a version mismatch). The original code also assumes
> unnecessarily that the first port is up and a switch, even though there is
> a flag for switch ports.
>
> This patch only matches a port if it is connected, and otherwise uses the
> switch_port flag to send the packet to a switch port that is up.
>
> Signed-off-by: David L Stevens <david.stevens@...cle.com>
Applied and queued up for -stable, thanks David.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists