diff options
author | Thomas Graf <tgraf@suug.ch> | 2012-07-05 14:19:57 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-10 22:36:01 +0200 |
commit | 1da0faa3801e0dcb585b33266a2ac0842f26e58c (patch) | |
tree | 30d62927d4601adafc78574deecb7ed0eb3141e3 /README | |
parent | can: gw: Use nla_policy to validate netlink attributes (diff) | |
download | linux-1da0faa3801e0dcb585b33266a2ac0842f26e58c.tar.xz linux-1da0faa3801e0dcb585b33266a2ac0842f26e58c.zip |
can: gw: Properly fill the netlink header when responding to RTM_GETROUTE
- set message type to RTM_NEWROUTE
- relate to original request by inheriting the sequence and port number.
- set NLM_F_MULTI because it's a dump and more messages will follow
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Tested-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions