projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/net/bridge/br_mdb.c
b/net/bridge/br_mdb.c
index 5df05269d17a6f9b478aa6d90d5c322f0708e0c4..fed61c971b177ab00a1b2f398832e808746ed4e7 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;