diff options
author | Cong Wang <cwang@twopensource.com> | 2014-10-14 21:35:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-14 23:00:19 +0200 |
commit | dee49f203a7feef5d00c416b7dc7e34a7caba8e1 (patch) | |
tree | f3ba47780b9bc7362479f3caae851fe527543f35 /include/ras | |
parent | cxgb4: Fix FW flash logic using ethtool (diff) | |
download | linux-dee49f203a7feef5d00c416b7dc7e34a7caba8e1.tar.xz linux-dee49f203a7feef5d00c416b7dc7e34a7caba8e1.zip |
rds: avoid calling sock_kfree_s() on allocation failure
It is okay to free a NULL pointer but not okay to mischarge the socket optmem
accounting. Compile test only.
Reported-by: rucsoftsec@gmail.com
Cc: Chien Yen <chien.yen@oracle.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/ras')
0 files changed, 0 insertions, 0 deletions