mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 08:56:42 +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>
8 lines
296 B
C
8 lines
296 B
C
#ifndef _NET_PSNAP_H
|
|
#define _NET_PSNAP_H
|
|
|
|
extern struct datalink_proto *register_snap_client(unsigned char *desc, int (*rcvfunc)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *orig_dev));
|
|
extern void unregister_snap_client(struct datalink_proto *proto);
|
|
|
|
#endif
|