rds: avoid calling sock_kfree_s() on allocation failure
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: 148403f4a710e4e10290d240b3982e026963ddca@gmail.com
Cc: Chien Yen <f749a2039ef67c70af41afc340854e94d1b47341@oracle.com>
Cc: Stephen Hemminger <06fa905d7f2aaced6dc72e9511c71a2a51e8aead@networkplumber.org>
Signed-off-by: Cong Wang <2b3b59efb30d692c772b2f93c636eba69bba4f54@twopensource.com>
Signed-off-by: Cong Wang <0f114804888b88d50037b04b42e57b858d851b87@gmail.com>
Signed-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs