Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

openvswitch: Print device when warning about over MTU packets.

If an attempt is made to transmit a packet that is over the device's
MTU then we log it using the datapath's name. However, it is much
more helpful to use the device name instead.

Signed-off-by: Jesse Gross <jesse@nicira.com>

+1 -1
+1 -1
net/openvswitch/vport-netdev.c
··· 158 158 159 159 if (unlikely(packet_length(skb) > mtu && !skb_is_gso(skb))) { 160 160 net_warn_ratelimited("%s: dropped over-mtu packet: %d > %d\n", 161 - ovs_dp_name(vport->dp), 161 + netdev_vport->dev->name, 162 162 packet_length(skb), mtu); 163 163 goto error; 164 164 }