mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 03:46:37 +07:00
f2ccd8fa06
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>
12 lines
327 B
C
12 lines
327 B
C
#ifndef _NET_P8022_H
|
|
#define _NET_P8022_H
|
|
extern struct datalink_proto *
|
|
register_8022_client(unsigned char type,
|
|
int (*func)(struct sk_buff *skb,
|
|
struct net_device *dev,
|
|
struct packet_type *pt,
|
|
struct net_device *orig_dev));
|
|
extern void unregister_8022_client(struct datalink_proto *proto);
|
|
|
|
#endif
|