diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2015-01-15 16:29:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-15 19:37:20 -0500 |
commit | 12d872511cdf71d86a2547b32c0d86133d1d0f41 (patch) | |
tree | 2e1582d941f8c54caf93e3130ac2675d71981730 /net/bridge | |
parent | 6321b54a43e2dd3e2635f4a7cb7e4d83fd68dfe1 (diff) |
bridge: use MDBA_SET_ENTRY_MAX for maxtype in nlmsg_parse()
This is just a cleanup, because in the current code MDBA_SET_ENTRY_MAX ==
MDBA_SET_ENTRY.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_mdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_mdb.c b/net/bridge/br_mdb.c index 5df05269d17a..fed61c971b17 100644 --- a/net/bridge/br_mdb.c +++ b/net/bridge/br_mdb.c @@ -276,7 +276,7 @@ static int br_mdb_parse(struct sk_buff *skb, struct nlmsghdr *nlh, struct net_device *dev; int err; - err = nlmsg_parse(nlh, sizeof(*bpm), tb, MDBA_SET_ENTRY, NULL); + err = nlmsg_parse(nlh, sizeof(*bpm), tb, MDBA_SET_ENTRY_MAX, NULL); if (err < 0) return err; |