Cong Wang dee49f203a 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>
2014-10-14 17:00:19 -04:00
..
2014-04-18 14:20:48 +02:00
2013-12-27 12:33:58 -05:00
2012-11-19 18:59:44 -05:00
2012-01-12 20:05:28 -08:00
2014-04-18 14:20:48 +02:00
2013-03-04 14:12:07 -05:00
2013-03-08 00:35:44 -05:00
2014-05-09 15:59:45 -04:00
2011-07-01 16:16:19 -07:00