|
@@ -784,8 +784,9 @@ new_mtu:
|
|
break;
|
|
break;
|
|
|
|
|
|
rc = tipc_wait_for_sndmsg(sock, &timeo);
|
|
rc = tipc_wait_for_sndmsg(sock, &timeo);
|
|
|
|
+ if (rc)
|
|
|
|
+ kfree_skb_list(buf);
|
|
} while (!rc);
|
|
} while (!rc);
|
|
-
|
|
|
|
exit:
|
|
exit:
|
|
if (iocb)
|
|
if (iocb)
|
|
release_sock(sk);
|
|
release_sock(sk);
|
|
@@ -898,6 +899,8 @@ next:
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
rc = tipc_wait_for_sndpkt(sock, &timeo);
|
|
rc = tipc_wait_for_sndpkt(sock, &timeo);
|
|
|
|
+ if (rc)
|
|
|
|
+ kfree_skb_list(buf);
|
|
} while (!rc);
|
|
} while (!rc);
|
|
exit:
|
|
exit:
|
|
if (iocb)
|
|
if (iocb)
|