diff options
| author | Greg Kroah-Hartman <[email protected]> | 2017-12-12 11:51:05 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-12-12 11:51:05 +0000 |
| commit | c1ed47355467d03639b750570b4324f7c1eed68c (patch) | |
| tree | ad1994abec3acf822ccd4b74b1121599e5b1c148 /net/tipc | |
| parent | usb: xhci: fix TDS for MTK xHCI1.1 (diff) | |
| parent | Revert "usb: gadget: allow to enable legacy drivers without USB_ETH" (diff) | |
| download | kernel-c1ed47355467d03639b750570b4324f7c1eed68c.tar.gz kernel-c1ed47355467d03639b750570b4324f7c1eed68c.zip | |
Merge tag 'fixes-for-v4.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-linus
Felipe writes:
usb: fixes for v4.15-rc4
We have a few fixes on dwc3:
- one fix which only happens with some implementations where we need to
wait longer for some commands to finish.
- Another fix for high-bandwidth isochronous endpoint programming making
sure that we send the correct DATA tokens in the correct sequence
- A couple PM fixes on dwc3-of-simple
The other synopsys controller driver (dwc2) got a fix for FIFO size
programming.
Other than these, we have a couple Kconfig fixes making sure that
dependencies are properly setup.
Diffstat (limited to 'net/tipc')
| -rw-r--r-- | net/tipc/server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tipc/server.c b/net/tipc/server.c index acaef80fb88c..d60c30342327 100644 --- a/net/tipc/server.c +++ b/net/tipc/server.c @@ -314,6 +314,7 @@ static int tipc_accept_from_sock(struct tipc_conn *con) newcon->usr_data = s->tipc_conn_new(newcon->conid); if (!newcon->usr_data) { sock_release(newsock); + conn_put(newcon); return -ENOMEM; } @@ -511,7 +512,7 @@ bool tipc_topsrv_kern_subscr(struct net *net, u32 port, u32 type, s = con->server; scbr = s->tipc_conn_new(*conid); if (!scbr) { - tipc_close_conn(con); + conn_put(con); return false; } |
