mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-04-13 20:51:11 +00:00

Bonding just wants the device before the skb_bond() decapsulation occurs, so simply pass that original device into packet_type->func() as an argument. It remains to be seen whether we can use this same exact thing to get rid of skb->input_dev as well. Signed-off-by: David S. Miller <davem@davemloft.net>