Sabrina Dubroca 539a06baed tcp: ulp: avoid module refcnt leak in tcp_set_ulp
__tcp_ulp_find_autoload returns tcp_ulp_ops after taking a reference on
the module. Then, if ->init fails, tcp_set_ulp propagates the error but
nothing releases that reference.

Fixes: 734942cc4ea6 ("tcp: ULP infrastructure")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-14 22:17:05 -07:00
..
2017-04-12 22:02:40 +02:00
2017-08-11 13:57:08 -07:00
2017-08-08 21:03:47 -07:00
2017-07-21 16:26:01 -07:00
2017-06-15 12:12:40 -04:00
2017-06-15 12:12:40 -04:00