datapath: Move over-MTU checking into vport_send().
authorJesse Gross <jesse@nicira.com>
Mon, 12 Jul 2010 20:27:57 +0000 (13:27 -0700)
committerJesse Gross <jesse@nicira.com>
Tue, 13 Jul 2010 21:10:18 +0000 (14:10 -0700)
commit38aeef15d85c8f7a590ebf3daaeb3f4d72d414a4
treeb6b8ad66f1602a336573517b2e6845c01050a69f
parentecbb6953b37f81f5ea1979aa4e5d8e11df0929ad
datapath: Move over-MTU checking into vport_send().

We currently check for packets that are over the MTU in do_output().
There is a one-to-one correlation between this function and
vport_send() so move the MTU check there for consistency with
other error checking.
datapath/actions.c
datapath/vport.c