datapath: Print device when warning about over MTU packets.
authorJesse Gross <jesse@nicira.com>
Thu, 4 Oct 2012 20:34:36 +0000 (13:34 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 4 Oct 2012 20:49:29 +0000 (13:49 -0700)
commit40a5a25d4ff02d8cb2dba9f0f21b2d985a00ca11
tree7900c5bc3b5f7d5128e82a075d51f1b0c1dee8d7
parent7fd3e43db0715475e12a7cfb5d4b57a6005cac81
datapath: 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>
Acked-by: Kyle Mestery <kmestery@cisco.com>
datapath/vport-netdev.c