datapath: Drop packets when interdev is not up
authorChunhe Li <lichunhe@huawei.com>
Wed, 30 Jul 2014 01:49:01 +0000 (09:49 +0800)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 1 Aug 2014 20:37:21 +0000 (13:37 -0700)
commitadffa6bad6c2b75143b0684b2c9f550c03e0e31e
tree6aa30a2d08f89338c5042f885f8285698c13afae
parent2551ae4f81b300a998aa1530dd8f968e62417656
datapath: Drop packets when interdev is not up

If the internal device is not up, it should drop received
packets. Sometimes it receive the broadcast or multicast
packets, and the ip protocol stack will casue more cpu
usage wasted.

Signed-off-by: Chunhe Li <lichunhe@huawei.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/vport-internal_dev.c