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 21:51:11 +0000 (14:51 -0700)
commitedff57a8b0b3c33351e6bbd8746313eaee8cd20c
treead67831b3aa3cad60194e3013d1bfb15a04ea742
parent5eba2795fc5d4e833e9827ce18f6167e382bf0e1
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