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>
Wed, 30 Jul 2014 20:24:23 +0000 (13:24 -0700)
commit0077a780bf02bd26b92bea7a3e2c3d2b7cda14b0
treee2ef122bb75859711ed7f90a73a248ccc22669f8
parent3fc76ec00f7b149cc1fa3231b4b2d76de2bbae9a
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