mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-26 14:17:26 -04:00
netpoll queue cleanup
The beast had a long and not very happy history. At one point, a friend (netdump) had asked that he open up a little. Well, the friend was long gone now, and the beast had this dangling piece hanging (netpoll_queue). It wasn't hard to stitch the netpoll_queue back in where it belonged and make everything tidy. Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
This commit is contained in:
parent
2bdfe0baec
commit
5de4a473bd
3 changed files with 5 additions and 23 deletions
|
@ -18,7 +18,7 @@ struct netpoll {
|
|||
struct net_device *dev;
|
||||
char dev_name[16], *name;
|
||||
void (*rx_hook)(struct netpoll *, int, char *, int);
|
||||
void (*drop)(struct sk_buff *skb);
|
||||
|
||||
u32 local_ip, remote_ip;
|
||||
u16 local_port, remote_port;
|
||||
unsigned char local_mac[6], remote_mac[6];
|
||||
|
@ -44,7 +44,7 @@ int netpoll_trap(void);
|
|||
void netpoll_set_trap(int trap);
|
||||
void netpoll_cleanup(struct netpoll *np);
|
||||
int __netpoll_rx(struct sk_buff *skb);
|
||||
void netpoll_queue(struct sk_buff *skb);
|
||||
|
||||
|
||||
#ifdef CONFIG_NETPOLL
|
||||
static inline int netpoll_rx(struct sk_buff *skb)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue