]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/smc/smc_pnet.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[linux.git] / net / smc / smc_pnet.c
index 2b246b94a3aff40b7475344802f2237215097ead..9f5d8f36f2d74af0e4f2fdac5848b41b3a7a2c49 100644 (file)
@@ -604,7 +604,8 @@ static int smc_pnet_flush(struct sk_buff *skb, struct genl_info *info)
 {
        struct net *net = genl_info_net(info);
 
-       return smc_pnet_remove_by_pnetid(net, NULL);
+       smc_pnet_remove_by_pnetid(net, NULL);
+       return 0;
 }
 
 /* SMC_PNETID generic netlink operation definition */