]> git.baikalelectronics.ru Git - kernel.git/commit
net: drop_monitor: fix the value of maxattr
authorChangli Gao <xiaosuo@gmail.com>
Sun, 8 Dec 2013 14:36:56 +0000 (09:36 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Dec 2013 02:10:38 +0000 (21:10 -0500)
commit072ceaf44b50cf1dd2fbaf5f8140c1399cf55b04
tree3f092f7ab3c075e22c5b635db2a6fc8141abeef0
parent8aa9e4898ba4de956bdcb9a622970bb1263b3be7
net: drop_monitor: fix the value of maxattr

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