diff options
author | 2018-07-18 15:22:50 +0200 | |
---|---|---|
committer | 2018-07-18 10:58:27 -0700 | |
commit | ac0107edba253a6e58e923f9e68825decef3e681 (patch) | |
tree | fb2c0ad4a31a876a05095a431b11375736d0b75d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/smc: optimize consumer cursor updates (diff) | |
download | wireguard-linux-ac0107edba253a6e58e923f9e68825decef3e681.tar.xz wireguard-linux-ac0107edba253a6e58e923f9e68825decef3e681.zip |
net/smc: add error handling for get_user()
For security reasons the return code of get_user() should always be
checked.
Fixes: 01d2f7e2cdd31 ("net/smc: sockopts TCP_NODELAY and TCP_CORK")
Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions