diff options
author | John Rutherford <john.rutherford@dektech.com.au> | 2019-11-26 05:52:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 00:34:27 +0300 |
commit | 8fc720c8cb0e782f26a89f8241a12e0e04256c89 (patch) | |
tree | 916aeb71776675347bb86a4262058076bed8b4c1 /scripts/gdb/linux/utils.py | |
parent | b6f2ecb95860730483b7701ba358b338f5dca447 (diff) | |
download | linux-8fc720c8cb0e782f26a89f8241a12e0e04256c89.tar.xz |
tipc: fix link name length check
[ Upstream commit fd567ac20cb0377ff466d3337e6e9ac5d0cb15e4 ]
In commit 4f07b80c9733 ("tipc: check msg->req data len in
tipc_nl_compat_bearer_disable") the same patch code was copied into
routines: tipc_nl_compat_bearer_disable(),
tipc_nl_compat_link_stat_dump() and tipc_nl_compat_link_reset_stats().
The two link routine occurrences should have been modified to check
the maximum link name length and not bearer name length.
Fixes: 4f07b80c9733 ("tipc: check msg->reg data len in tipc_nl_compat_bearer_disable")
Signed-off-by: John Rutherford <john.rutherford@dektech.com.au>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions