summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-05-22 16:25:08 +0300
committerJason Gunthorpe <jgg@nvidia.com>2022-05-24 18:55:12 +0300
commit7f60951ff4d1664dfa2c304d144d195989199ef3 (patch)
tree6b5699067d0c0e85dd01cb4a82931f0b87c393c2 /scripts/gdb/linux/modules.py
parenta6f844da39af8046798ba5cadf92a0c54da80b26 (diff)
downloadlinux-7f60951ff4d1664dfa2c304d144d195989199ef3.tar.xz
RDMA/rxe: Fix an error handling path in rxe_get_mcg()
The commit in the Fixes tag has shuffled some code. Now 'mcg_num' is incremented before the kzalloc(). So if the memory allocation fails, this increment must be undone. Fixes: a926a903b7dc ("RDMA/rxe: Do not call dev_mc_add/del() under a spinlock") Link: https://lore.kernel.org/r/fe137cd8b1f17593243aa73d59c18ea71ab9ee36.1653225896.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions