tap: fix host mtu configuration setting 00/26200/2
authorMohsin Kazmi <sykazmi@cisco.com>
Thu, 30 Jan 2020 15:08:08 +0000 (16:08 +0100)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 27 Mar 2020 14:29:18 +0000 (14:29 +0000)
commitfd8da464989cf9b166848dd9f0bacbcbae156121
treedbcab0fc4cd0af99d2d723634505be70362b255e
parenta8e2c583e2cc7610a43c1b0e07c928519b7d619c
tap: fix host mtu configuration setting

host mtu can't be set if tap interface is in namespace.
This patch fixes this issue.

Type: fix

Change-Id: I63811c4b56c708fe708061a8afbaec41994f08ca
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
(cherry picked from commit 91592c0c9cdd1bc61a2796e41a8becc30aaf8082)
src/vnet/devices/tap/tap.c