ipvlan: fix ipv6 outbound device
authorKeefe Liu <liuqifa@huawei.com>
Thu, 9 Nov 2017 12:09:31 +0000 (20:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2017 10:27:05 +0000 (19:27 +0900)
commitca29fd7cce5a6444d57fb86517589a1a31c759e1
tree6d1253fc9a0ec1075c33a380a5ee4c837f55a978
parent3d67a5075295982fb055be6a5d5c78b0e0be3591
ipvlan: fix ipv6 outbound device

When process the outbound packet of ipv6, we should assign the master
device to output device other than input device.

Signed-off-by: Keefe Liu <liuqifa@huawei.com>
Acked-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvlan_core.c