diff options
author | Thomas Graf <tgraf@suug.ch> | 2005-06-18 22:53:48 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-18 22:53:48 -0700 |
commit | 1797754ea7ee5e0d859b0a32506ff999f8d5fb71 (patch) | |
tree | a35d05f9106d903412a6fff714be38427fc4d0fa /net/decnet/dn_rules.c | |
parent | af0d114176720c2100dfa624ab433796d333d730 (diff) | |
download | linux-stable-1797754ea7ee5e0d859b0a32506ff999f8d5fb71.tar.gz linux-stable-1797754ea7ee5e0d859b0a32506ff999f8d5fb71.tar.bz2 linux-stable-1797754ea7ee5e0d859b0a32506ff999f8d5fb71.zip |
[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 <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet/dn_rules.c')
0 files changed, 0 insertions, 0 deletions