]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Drop packets when interdev is not up
authorChunhe Li <lichunhe@huawei.com>
Mon, 8 Sep 2014 20:17:21 +0000 (13:17 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Thu, 6 Nov 2014 07:52:35 +0000 (23:52 -0800)
commitf25f198e0839edde326be8483b4e3b3869ceaf52
treea006b187186abc7a7d0ebf3c56ff6b1e6d64febd
parent5f9477db6d8f93f51dca3946a42fb9245814a0f8
openvswitch: 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>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
net/openvswitch/vport-internal_dev.c