* - kernel-auditc-nlh-nlmsg_type-is-gotten-more-than-once.patch removed from -mm tree
@ 2008-07-02 7:46 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2008-07-02 7:46 UTC (permalink / raw)
To: penght, eparis, viro, mm-commits
The patch titled
kernel/audit.c: nlh->nlmsg_type is gotten more than once
has been removed from the -mm tree. Its filename was
kernel-auditc-nlh-nlmsg_type-is-gotten-more-than-once.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: kernel/audit.c: nlh->nlmsg_type is gotten more than once
From: Peng Haitao <penght@cn.fujitsu.com>
The first argument "nlh->nlmsg_type" of audit_receive_filter() should be
modified to "msg_type" in audit_receive_msg().
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/audit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -puN kernel/audit.c~kernel-auditc-nlh-nlmsg_type-is-gotten-more-than-once kernel/audit.c
--- a/kernel/audit.c~kernel-auditc-nlh-nlmsg_type-is-gotten-more-than-once
+++ a/kernel/audit.c
@@ -779,7 +779,7 @@ static int audit_receive_msg(struct sk_b
}
/* fallthrough */
case AUDIT_LIST:
- err = audit_receive_filter(nlh->nlmsg_type, NETLINK_CB(skb).pid,
+ err = audit_receive_filter(msg_type, NETLINK_CB(skb).pid,
uid, seq, data, nlmsg_len(nlh),
loginuid, sessionid, sid);
break;
@@ -798,7 +798,7 @@ static int audit_receive_msg(struct sk_b
}
/* fallthrough */
case AUDIT_LIST_RULES:
- err = audit_receive_filter(nlh->nlmsg_type, NETLINK_CB(skb).pid,
+ err = audit_receive_filter(msg_type, NETLINK_CB(skb).pid,
uid, seq, data, nlmsg_len(nlh),
loginuid, sessionid, sid);
break;
_
Patches currently in -mm which might be from penght@cn.fujitsu.com are
origin.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-02 7:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02 7:46 - kernel-auditc-nlh-nlmsg_type-is-gotten-more-than-once.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.