netdev
[Top] [All Lists]

PATCH: rtnetlink explicit flags setting

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>



Attachment: rtnet_info_p
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>