projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netdevsim: fix panic in nsim_dev_take_snapshot_write()
[platform/kernel/linux-starfive.git]
/
drivers
/
net
/
netdevsim
/
netdevsim.h
diff --git
a/drivers/net/netdevsim/netdevsim.h
b/drivers/net/netdevsim/netdevsim.h
index
be100b1
..
2eb7b0d
100644
(file)
--- a/
drivers/net/netdevsim/netdevsim.h
+++ b/
drivers/net/netdevsim/netdevsim.h
@@
-160,6
+160,7
@@
struct nsim_dev {
struct nsim_trap_data *trap_data;
struct dentry *ddir;
struct dentry *ports_ddir;
+ struct dentry *take_snapshot;
struct bpf_offload_dev *bpf_dev;
bool bpf_bind_accept;
u32 bpf_bind_verifier_delay;