On Sat, 10 Mar 2018 00:40:13 +0530 Atul Gupta <atul.gupta@xxxxxxxxxxx> wrote: > Exchange CPL messages with hardware to program the TLS session > CPL handlers defined to process messages received from chip. > > Signed-off-by: Atul Gupta <atul.gupta@xxxxxxxxxxx> > --- > drivers/crypto/chelsio/chtls/chtls_cm.c | 2041 +++++++++++++++++++++++++++++++ > net/ipv4/tcp_minisocks.c | 1 + > 2 files changed, 2042 insertions(+) > create mode 100644 drivers/crypto/chelsio/chtls/chtls_cm.c > > diff --git a/drivers/crypto/chelsio/chtls/chtls_cm.c b/drivers/crypto/chelsio/chtls/chtls_cm.c > > [...] > > +static void send_defer_abort_rpl(struct chtls_dev *cdev, struct sk_buff *skb) > +{ > + struct cpl_abort_req_rss *req = cplhdr(skb); > + struct sk_buff *reply_skb; > + > + reply_skb = alloc_skb(sizeof(struct cpl_abort_rpl), > + GFP_KERNEL | __GFP_NOFAIL); > + if (!reply_skb) > + return; This will never happen. By the way, is there really no way to handle a failure here? -- Stefano