aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorzhanglin <zhang.lin16@zte.com.cn>2019-08-23 09:14:11 +0800
committerDavid S. Miller <davem@davemloft.net>2019-08-24 16:33:14 -0700
commitb45ce32135d1c82a5bf12aa56957c3fd27956057 (patch)
tree3d71b2aed3171ceb1cdcc3f1152da20b19fa2c62 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com
parentMerge tag 'mlx5-fixes-2019-08-22' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (diff)
downloadlinux-dev-b45ce32135d1c82a5bf12aa56957c3fd27956057.tar.xz
linux-dev-b45ce32135d1c82a5bf12aa56957c3fd27956057.zip
sock: fix potential memory leak in proto_register()
If protocols registered exceeded PROTO_INUSE_NR, prot will be added to proto_list, but no available bit left for prot in proto_inuse_idx. Changes since v2: * Propagate the error code properly Signed-off-by: zhanglin <zhang.lin16@zte.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions