summaryrefslogtreecommitdiffstats
path: root/fs/splice.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2012-07-05 14:19:57 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-07-10 22:36:01 +0200
commit1da0faa3801e0dcb585b33266a2ac0842f26e58c (patch)
tree30d62927d4601adafc78574deecb7ed0eb3141e3 /fs/splice.c
parentcan: gw: Use nla_policy to validate netlink attributes (diff)
downloadlinux-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 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions