datapath: Set datapath device MTU to minimum of MTU of ports.
authorJesse Gross <jesse@nicira.com>
Mon, 1 Feb 2010 21:43:44 +0000 (16:43 -0500)
committerJesse Gross <jesse@nicira.com>
Tue, 2 Feb 2010 19:56:40 +0000 (14:56 -0500)
commita778696338b85b86b31b9ec7d1a4daeda430aa8b
treed0d9f98d7a2f8ebd005fba4131fcfa0cc5d3f846
parent65272b911471662a24886f571b1fb2779c90ebaf
datapath: Set datapath device MTU to minimum of MTU of ports.

The MTU of the local port should be no larger than the minimum of
the MTUs of the ports attached to the bridge, overwise packets may be
dropped.  We already prevent changes to the MTU that would violate
this constraint but don't actuallly proactively set the MTU.  This
changes makes everything consistent and matches the behavior of
the bridge.
datapath/datapath.c
datapath/datapath.h
datapath/dp_notify.c