diff options
author | Yuanjun Gong <ruc_gongyuanjun@163.com> | 2023-07-25 09:48:10 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-07-27 11:46:05 +0300 |
commit | e46e06ffc6d667a89b979701288e2264f45e6a7b (patch) | |
tree | 2785cb340fe23bc23d894016ccd612fc1f194cba /net/tipc/group.h | |
parent | 5c85f7065718a949902b238a6abd8fc907c5d3e0 (diff) | |
download | linux-e46e06ffc6d667a89b979701288e2264f45e6a7b.tar.xz |
tipc: check return value of pskb_trim()
goto free_skb if an unexpected result is returned by pskb_tirm()
in tipc_crypto_rcv_complete().
Fixes: fc1b6d6de220 ("tipc: introduce TIPC encryption & authentication")
Signed-off-by: Yuanjun Gong <ruc_gongyuanjun@163.com>
Reviewed-by: Tung Nguyen <tung.q.nguyen@dektech.com.au>
Link: https://lore.kernel.org/r/20230725064810.5820-1-ruc_gongyuanjun@163.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/tipc/group.h')
0 files changed, 0 insertions, 0 deletions