There are a lot of bugs which can occur if we catch -ENOMEM during sk_fill_write_queue or sk_write_xmit execution. They occur because we don't close connection in case of -ENOMEM error in this functions but only wait until memory will be available and call this functions again. This functions are not reentable so there are a lot of bugs. For example we call skb_push in sk_write_xmit->tfw_tls_encrypt for skb again and again until bug occurs in case of -ENOMEM.
There are a lot of bugs which can occur if we catch -ENOMEM during
sk_fill_write_queue
orsk_write_xmit
execution. They occur because we don't close connection in case of -ENOMEM error in this functions but only wait until memory will be available and call this functions again. This functions are not reentable so there are a lot of bugs. For example we callskb_push
in sk_write_xmit->tfw_tls_encrypt for skb again and again until bug occurs in case of -ENOMEM.