diff options
| author | John Rutherford <[email protected]> | 2019-11-26 02:52:55 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-11-26 18:03:12 +0000 |
| commit | fd567ac20cb0377ff466d3337e6e9ac5d0cb15e4 (patch) | |
| tree | d5f35bdf9d3045521bb02986e6c1dcdbd8dc3600 /net/tipc/msg.c | |
| parent | Merge tag 'for-linus-5.5-1' of git://github.com/cminyard/linux-ipmi (diff) | |
| download | kernel-fd567ac20cb0377ff466d3337e6e9ac5d0cb15e4.tar.gz kernel-fd567ac20cb0377ff466d3337e6e9ac5d0cb15e4.zip | |
tipc: fix link name length check
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 <[email protected]>
Acked-by: Jon Maloy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/msg.c')
0 files changed, 0 insertions, 0 deletions
