net: drop_monitor: fix the value of maxattr
authorChangli Gao <xiaosuo@gmail.com>
Sun, 8 Dec 2013 14:36:56 +0000 (09:36 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2014 23:28:47 +0000 (15:28 -0800)
commit90af0bf9303883865a8626f23b4b0ed60d4d10dc
tree0a9e26ff887ee7dff631e807cb5c36b15136950f
parente28c2d64f8b676b7defe6a3f25aa80269aa49c7e
net: drop_monitor: fix the value of maxattr

[ Upstream commit d323e92cc3f4edd943610557c9ea1bb4bb5056e8 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/drop_monitor.c