]> Pileus Git - ~andy/linux/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)
commitd323e92cc3f4edd943610557c9ea1bb4bb5056e8
tree3f092f7ab3c075e22c5b635db2a6fc8141abeef0
parentec21b6b404dd850a23952ee3b871ff676c0703fa
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