diff options
author | Gao Feng <fgao@ikuai8.com> | 2016-12-28 16:46:51 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-28 14:23:21 -0500 |
commit | 8667398277afe5312ac6e70589c4c661545179c7 (patch) | |
tree | ee01f00a1a7884c9d10c41aaa6b5ad6b32f5ece7 /drivers/vhost/test.c | |
parent | c4907c6ebb184f5038e6227d9a3e23076ee5db63 (diff) | |
download | talos-obmc-linux-8667398277afe5312ac6e70589c4c661545179c7.tar.gz talos-obmc-linux-8667398277afe5312ac6e70589c4c661545179c7.zip |
driver: ipvlan: Define common functions to decrease duplicated codes used to add or del IP address
There are some duplicated codes in ipvlan_add_addr6/4 and
ipvlan_del_addr6/4. Now define two common functions ipvlan_add_addr
and ipvlan_del_addr to decrease the duplicated codes.
It could be helful to maintain the codes.
Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost/test.c')
0 files changed, 0 insertions, 0 deletions