projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddffeb8
)
openvswitch: Print device when warning about over MTU packets.
author
Jesse Gross
<jesse@nicira.com>
Tue, 30 Oct 2012 22:48:48 +0000
(15:48 -0700)
committer
Jesse Gross
<jesse@nicira.com>
Tue, 30 Oct 2012 22:48:48 +0000
(15:48 -0700)
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>
net/openvswitch/vport-netdev.c
patch
|
blob
|
blame
|
history
diff --git
a/net/openvswitch/vport-netdev.c
b/net/openvswitch/vport-netdev.c
index 3c1e58ba714bf9534b597c9f28147cc7c3038b39..a9033481fa5e867b2264fa9f834a4041786ed166 100644
(file)
--- a/
net/openvswitch/vport-netdev.c
+++ b/
net/openvswitch/vport-netdev.c
@@
-158,7
+158,7
@@
static int netdev_send(struct vport *vport, struct sk_buff *skb)
if (unlikely(packet_length(skb) > mtu && !skb_is_gso(skb))) {
net_warn_ratelimited("%s: dropped over-mtu packet: %d > %d\n",
-
ovs_dp_name(vport->dp)
,
+
netdev_vport->dev->name
,
packet_length(skb), mtu);
goto error;
}