diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-11-02 21:04:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-03 20:44:06 +0300 |
commit | 125d7d30111738a5bdafacc1ed87cd3d7f32b4ea (patch) | |
tree | 77cb37aa0f0ffe856760711a8f1a758d4473fb5c /net/sched | |
parent | 9fae5c3b60396b8586881a0e7c028ae5bcaeaa3f (diff) | |
download | linux-125d7d30111738a5bdafacc1ed87cd3d7f32b4ea.tar.xz |
s390/qeth: sanitize ARP requests
The ARP_{ADD,REMOVE}_ENTRY cmd structs contain reserved fields.
Introduce a common helper that doesn't raw-copy the user-provided data
into the cmd, but only sets those fields that are strictly needed for
the command.
This also sets the correct command length for ARP_REMOVE_ENTRY.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions