| To: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
|---|---|
| Subject: | PATCH: rtnetlink explicit flags setting |
| From: | jamal <hadi@xxxxxxxxxx> |
| Date: | Fri, 27 May 2005 08:32:37 -0400 |
| Cc: | Thomas Graf <tgraf@xxxxxxx>, netdev@xxxxxxxxxxx |
| Organization: | unknown |
| Reply-to: | hadi@xxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
I think i may have missed a few spots.
Thomas it would be worth creating a macro which takes flags as input as
well to replace things along the lines of:
nlh = NLMSG_PUT(skb, pid, seq, event, sizeof(*ifm));
nlh->nlmsg_flags = flags;
Since theres a sufficient number of them.
I will work next on fixing ioctl derived events to contain the proper
pid of the process that caused the event
cheers,
jamal
--
This patch rectifies some rtnetlink message builders that derive the
flags from the pid. It is now explicit like the other cases
which get it right.
Signed-off-by: Jamal Hadi Salim <hadi@xxxxxxxxxx>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 3/4] [NEIGH] neighbour table configuration and statistics via rtnetlink, Thomas Graf |
|---|---|
| Next by Date: | Re: PATCH: rtnetlink explicit flags setting, Thomas Graf |
| Previous by Thread: | [PATCH] shaper.c: fix locking, Christoph Hellwig |
| Next by Thread: | Re: PATCH: rtnetlink explicit flags setting, Thomas Graf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |