From: Thomas Graf Date: Sun, 19 Jun 2005 05:53:48 +0000 (-0700) Subject: [NETLINK]: Introduce NLMSG_NEW macro to better handle netlink flags X-Git-Tag: v2.6.13-rc1~90^2~583^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1797754ea7ee5e0d859b0a32506ff999f8d5fb71;p=pandora-kernel.git [NETLINK]: Introduce NLMSG_NEW macro to better handle netlink flags Introduces a new macro NLMSG_NEW which extends NLMSG_PUT but takes a flags argument. NLMSG_PUT stays there for compatibility but now calls NLMSG_NEW with flags == 0. NLMSG_PUT_ANSWER is renamed to NLMSG_NEW_ANSWER which now also takes a flags argument. Also converts the users of NLMSG_PUT_ANSWER to use NLMSG_NEW_ANSWER and fixes the two direct users of __nlmsg_put to either provide the flags or use NLMSG_NEW(_ANSWER). Signed-off-by: Thomas Graf Signed-off-by: David S. Miller --- Reading git-diff-tree failed