net: drop_monitor: fix the value of maxattr
authorChangli Gao <xiaosuo@gmail.com>
Sun, 8 Dec 2013 14:36:56 +0000 (09:36 -0500)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 May 2014 05:54:06 +0000 (07:54 +0200)
commit9f308b7eb7b44f93fc814dce31f58a200f73d19c
treea2145cb45d50d0a72d490b9f713ce6131225c182
parent8f8a85b82f37d02e845b988ef3b751dcc1f4b7f8
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: Willy Tarreau <w@1wt.eu>
net/core/drop_monitor.c