This is a note to let you know that I've just added the patch titled
rtnetlink: Fix inverted check in ndo_dflt_fdb_del()
to the 3.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
rtnetlink-fix-inverted-check-in-ndo_dflt_fdb_del.patch
and it can be found in the queue-3.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From c83a5ded2a11c17792031f671b8c018e45b69256 Mon Sep 17 00:00:00 2001
From: Sridhar Samudrala <[email protected]>
Date: Thu, 8 Aug 2013 15:19:48 -0700
Subject: rtnetlink: Fix inverted check in ndo_dflt_fdb_del()
From: Sridhar Samudrala <[email protected]>
[ Upstream commit 645359930231d5e78fd3296a38b98c1a658a7ade ]
Fix inverted check when deleting an fdb entry.
Signed-off-by: Sridhar Samudrala <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
net/core/rtnetlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -2142,7 +2142,7 @@ int ndo_dflt_fdb_del(struct ndmsg *ndm,
/* If aging addresses are supported device will need to
* implement its own handler for this.
*/
- if (ndm->ndm_state & NUD_PERMANENT) {
+ if (!(ndm->ndm_state & NUD_PERMANENT)) {
pr_info("%s: FDB only supports static addresses\n", dev->name);
return -EINVAL;
}
Patches currently in stable-queue which might be from [email protected] are
queue-3.10/rtnetlink-fix-inverted-check-in-ndo_dflt_fdb_del.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html