@@ -482,7 +482,9 @@ static int dccp_v4_send_response(const struct sock *sk, struct request_sock *req
if (dst == NULL)
goto out;
+ bh_lock_sock(sk);
skb = dccp_make_response(sk, dst, req);
+ bh_unlock_sock(sk);
if (skb != NULL) {
const struct inet_request_sock *ireq = inet_rsk(req);
struct dccp_hdr *dh = dccp_hdr(skb);
@@ -214,7 +214,9 @@ static int dccp_v6_send_response(const struct sock *sk, struct request_sock *req
goto done;
}
+ bh_lock_sock(sk);
skb = dccp_make_response(sk, dst, req);
+ bh_unlock_sock(sk);
if (skb != NULL) {
struct dccp_hdr *dh = dccp_hdr(skb);
struct ipv6_txoptions *opt;