Commit 938a7aea authored by Krishna Kumar's avatar Krishna Kumar Committed by David S. Miller

[TCP]: Handle NLM_F_ACK in tcp_diag.c

parent 36dd123b
......@@ -613,7 +613,7 @@ static inline void tcpdiag_rcv_skb(struct sk_buff *skb)
if (nlh->nlmsg_len < sizeof(*nlh) || skb->len < nlh->nlmsg_len)
return;
err = tcpdiag_rcv_msg(skb, nlh);
if (err)
if (err || nlh->nlmsg_flags & NLM_F_ACK)
netlink_ack(skb, nlh, err);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment