kni: rename variable with namespace prefix
authorStephen Hemminger <stephen@networkplumber.org>
Sat, 21 Dec 2019 01:02:14 +0000 (17:02 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 19 Jan 2020 23:25:45 +0000 (00:25 +0100)
commitc793dce9858d9194b999e2af626a2c314ef0cc43
treef631bc94d1fbb099b0684cf79c3ba594fcbb4592
parente8a17faa5ebc7067473b4948805753251dc0c2e9
kni: rename variable with namespace prefix

All global variables in kernel should be prefixed by the same
to avoid any symbol conflics. Rename dflt_carrier to kni_default_carrier.

Fixes: 89397a01ce4a ("kni: set default carrier state of interface")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
kernel/linux/kni/kni_dev.h
kernel/linux/kni/kni_misc.c
kernel/linux/kni/kni_net.c