aboutsummaryrefslogtreecommitdiffstats
path: root/net/iucv/iucv.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-09-05 22:32:22 -0700
committerDavid S. Miller <davem@davemloft.net>2018-09-05 22:32:22 -0700
commitfce471e3c119895842c2b1a3ff51f3c1d108c656 (patch)
tree6c16b495f0b4a51054585f9c6a5289c0514b4f1b /net/iucv/iucv.c
parentnet/sched: fix memory leak in act_tunnel_key_init() (diff)
parentnet/iucv: declare iucv_path_table_empty() as static (diff)
downloadlinux-dev-fce471e3c119895842c2b1a3ff51f3c1d108c656.tar.xz
linux-dev-fce471e3c119895842c2b1a3ff51f3c1d108c656.zip
Merge branch 'iucv-fixes'
Julian Wiedmann says: ==================== net/iucv: fixes 2018-09-05 please apply three straight-forward fixes for iucv. One that prevents leaking the skb on malformed inbound packets, one to fix the error handling on transmit error, and one to get rid of a compile warning. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/iucv/iucv.c')
-rw-r--r--net/iucv/iucv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c
index 8f7ef167c45a..eb502c6290c2 100644
--- a/net/iucv/iucv.c
+++ b/net/iucv/iucv.c
@@ -1874,7 +1874,7 @@ static void iucv_pm_complete(struct device *dev)
* Returns 0 if there are still iucv pathes defined
* 1 if there are no iucv pathes defined
*/
-int iucv_path_table_empty(void)
+static int iucv_path_table_empty(void)
{
int i;