macvlan: fix gso_max_size setting
authorPatrick McHardy <kaber@trash.net>
Mon, 23 Nov 2009 22:18:53 +0000 (14:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Nov 2009 22:18:53 +0000 (14:18 -0800)
commit8c2acc53fd7987493f11640e266cf7130591e764
tree0e1fdc4e1689edc4b279cce17918003be73fc42b
parentb5b5150977cdfb7173f4468ccd30f9b4a981b902
macvlan: fix gso_max_size setting

gso_max_size must be set based on the value of the underlying device to
support devices not using the full 64k.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c