projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec21b6b
)
net: drop_monitor: fix the value of maxattr
author
Changli Gao
<xiaosuo@gmail.com>
Sun, 8 Dec 2013 14:36:56 +0000
(09:36 -0500)
committer
David S. Miller
<davem@davemloft.net>
Tue, 10 Dec 2013 02:10:38 +0000
(21:10 -0500)
maxattr in genl_family should be used to save the max attribute
type, but not the max command type. Drop monitor doesn't support
any attributes, so we should leave it as zero.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/drop_monitor.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/drop_monitor.c
b/net/core/drop_monitor.c
index 95897183226e18882bdbe16d8e9ba3a111ffae71..e70301eb7a4a0472d1ade5bd3d318fe453bd2b8b 100644
(file)
--- a/
net/core/drop_monitor.c
+++ b/
net/core/drop_monitor.c
@@
-64,7
+64,6
@@
static struct genl_family net_drop_monitor_family = {
.hdrsize = 0,
.name = "NET_DM",
.version = 2,
- .maxattr = NET_DM_CMD_MAX,
};
static DEFINE_PER_CPU(struct per_cpu_dm_data, dm_cpu_data);