diff options
author | Thomas Graf <tgraf@suug.ch> | 2012-07-05 12:19:57 (GMT) |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-10 20:36:01 (GMT) |
commit | 1da0faa3801e0dcb585b33266a2ac0842f26e58c (patch) | |
tree | 30d62927d4601adafc78574deecb7ed0eb3141e3 /ipc/util.h | |
parent | 732d35fd08058a678327ec908528fcc9514c9e48 (diff) | |
download | linux-1da0faa3801e0dcb585b33266a2ac0842f26e58c.tar.xz |
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 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions