| To: | Patrick McHardy <kaber@xxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] Add audit uid to netlink credentials |
| From: | Stephen Smalley <sds@xxxxxxxxxxxxxx> |
| Date: | Wed, 09 Feb 2005 13:53:44 -0500 |
| Cc: | Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>, Linux Audit Discussion <linux-audit@xxxxxxxxxx>, "Serge E. Hallyn" <serue@xxxxxxxxxx>, netdev@xxxxxxxxxxx, davem@xxxxxxxxxxxxx |
| In-reply-to: | <420A5BE1.4000003@trash.net> |
| Organization: | National Security Agency |
| References: | <20050204165840.GA2320@IBM-BWN8ZTBWA01.austin.ibm.com> <Pine.LNX.4.62.0502080658310.32526@kaber.coreworks.de> <1107956079.17568.42.camel@moss-spartans.epoch.ncsc.mil> <20050209141945.GA28864@yakov.inr.ac.ru> <20050209164929.GA30007@yakov.inr.ac.ru> <420A5BE1.4000003@trash.net> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Wed, 2005-02-09 at 13:52, Patrick McHardy wrote: > Could you explain how this can happen ? From what I can see whenever data > is queued to the receive queue the input function is called immediately > through sk->sk_data_ready() -> netlink_data_ready() -> nlk->data_ready() > and processes all queued packets, except in the case you pointed out, > when audit_netlink_sem is already taken. More packets may be queued by another sender while audit_receive() is still processing the original one, so it will process them too. -- Stephen Smalley <sds@xxxxxxxxxxxxxx> National Security Agency |
| Previous by Date: | Re: 2.6.10 TCP troubles -- suggested patch, Stephen Hemminger |
|---|---|
| Next by Date: | RE: [PATCH] net/s2io: replace schedule_timeout() with msleep(), Leonid Grossman |
| Previous by Thread: | Re: [PATCH] Add audit uid to netlink credentials, Patrick McHardy |
| Next by Thread: | Re: [PATCH] Add audit uid to netlink credentials, David Woodhouse |
| Indexes: | [Date] [Thread] [Top] [All Lists] |