projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6321b54
)
bridge: use MDBA_SET_ENTRY_MAX for maxtype in nlmsg_parse()
author
Nicolas Dichtel
<nicolas.dichtel@6wind.com>
Thu, 15 Jan 2015 15:29:12 +0000
(16:29 +0100)
committer
David S. Miller
<davem@davemloft.net>
Fri, 16 Jan 2015 00:37:20 +0000
(19:37 -0500)
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>
net/bridge/br_mdb.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_mdb.c
b/net/bridge/br_mdb.c
index
5df0526
..
fed61c9
100644
(file)
--- 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;