]> 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)
commit81fb711b4bb3fe2f9d9666641e9d78bab23aac72
tree3f092f7ab3c075e22c5b635db2a6fc8141abeef0
parentec363b0ce562ec3bebb5cf109b7062e320797362
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