]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Warn over-mtu packets only if iface is UP.
authorFlavio Leitner <fbl@sysclose.org>
Tue, 16 Mar 2021 20:14:27 +0000 (17:14 -0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Mar 2021 23:28:30 +0000 (16:28 -0700)
commitd8f86367f33cf38fda2d622520b99ba1df6a4713
tree7149adcd9fbe0f317c57af926c7d1109a67bbd8b
parent2bc5284e62d8677e71a8f4c0b711dc7f6315ba67
openvswitch: Warn over-mtu packets only if iface is UP.

It is not unusual to have the bridge port down. Sometimes
it has the old MTU, which is fine since it's not being used.

However, the kernel spams the log with a warning message
when a packet is going to be sent over such port. Fix that
by warning only if the interface is UP.

Signed-off-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/vport.c