[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202312220907.G4BidbSh-lkp@intel.com>
Date: Fri, 22 Dec 2023 09:23:55 +0800
From: kernel test robot <lkp@...el.com>
To: Sabrina Dubroca <sd@...asysnail.net>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Steffen Klassert <steffen.klassert@...unet.com>
Subject: net/xfrm/xfrm_state.c:2695:31: sparse: sparse: incorrect type in
assignment (different address spaces)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9a6b294ab496650e9f270123730df37030911b55
commit: fe9f1d8779cb47046e76ea209b6eece7ec56d1b4 xfrm: add state hashtable keyed by seq
date: 2 years, 7 months ago
config: openrisc-randconfig-r133-20231130 (https://download.01.org/0day-ci/archive/20231222/202312220907.G4BidbSh-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231222/202312220907.G4BidbSh-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312220907.G4BidbSh-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1093:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1110:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1168:77: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct hlist_head *h @@ got struct hlist_head [noderef] __rcu * @@
net/xfrm/xfrm_state.c:1168:77: sparse: expected struct hlist_head *h
net/xfrm/xfrm_state.c:1168:77: sparse: got struct hlist_head [noderef] __rcu *
net/xfrm/xfrm_state.c:1170:77: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct hlist_head *h @@ got struct hlist_head [noderef] __rcu * @@
net/xfrm/xfrm_state.c:1170:77: sparse: expected struct hlist_head *h
net/xfrm/xfrm_state.c:1170:77: sparse: got struct hlist_head [noderef] __rcu *
net/xfrm/xfrm_state.c:1173:85: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct hlist_head *h @@ got struct hlist_head [noderef] __rcu * @@
net/xfrm/xfrm_state.c:1173:85: sparse: expected struct hlist_head *h
net/xfrm/xfrm_state.c:1173:85: sparse: got struct hlist_head [noderef] __rcu *
net/xfrm/xfrm_state.c:1177:85: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct hlist_head *h @@ got struct hlist_head [noderef] __rcu * @@
net/xfrm/xfrm_state.c:1177:85: sparse: expected struct hlist_head *h
net/xfrm/xfrm_state.c:1177:85: sparse: got struct hlist_head [noderef] __rcu *
net/xfrm/xfrm_state.c:1195:42: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct xfrm_state [noderef] __rcu *x @@ got struct xfrm_state *[assigned] x @@
net/xfrm/xfrm_state.c:1195:42: sparse: expected struct xfrm_state [noderef] __rcu *x
net/xfrm/xfrm_state.c:1195:42: sparse: got struct xfrm_state *[assigned] x
net/xfrm/xfrm_state.c:1282:61: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct hlist_head *h @@ got struct hlist_head [noderef] __rcu * @@
net/xfrm/xfrm_state.c:1282:61: sparse: expected struct hlist_head *h
net/xfrm/xfrm_state.c:1282:61: sparse: got struct hlist_head [noderef] __rcu *
net/xfrm/xfrm_state.c:1285:61: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct hlist_head *h @@ got struct hlist_head [noderef] __rcu * @@
net/xfrm/xfrm_state.c:1285:61: sparse: expected struct hlist_head *h
net/xfrm/xfrm_state.c:1285:61: sparse: got struct hlist_head [noderef] __rcu *
net/xfrm/xfrm_state.c:1291:69: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct hlist_head *h @@ got struct hlist_head [noderef] __rcu * @@
net/xfrm/xfrm_state.c:1291:69: sparse: expected struct hlist_head *h
net/xfrm/xfrm_state.c:1291:69: sparse: got struct hlist_head [noderef] __rcu *
net/xfrm/xfrm_state.c:1297:69: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct hlist_head *h @@ got struct hlist_head [noderef] __rcu * @@
net/xfrm/xfrm_state.c:1297:69: sparse: expected struct hlist_head *h
net/xfrm/xfrm_state.c:1297:69: sparse: got struct hlist_head [noderef] __rcu *
net/xfrm/xfrm_state.c:1411:69: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct hlist_head *h @@ got struct hlist_head [noderef] __rcu * @@
net/xfrm/xfrm_state.c:1411:69: sparse: expected struct hlist_head *h
net/xfrm/xfrm_state.c:1411:69: sparse: got struct hlist_head [noderef] __rcu *
net/xfrm/xfrm_state.c:1413:69: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct hlist_head *h @@ got struct hlist_head [noderef] __rcu * @@
net/xfrm/xfrm_state.c:1413:69: sparse: expected struct hlist_head *h
net/xfrm/xfrm_state.c:1413:69: sparse: got struct hlist_head [noderef] __rcu *
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:1972:9: sparse: sparse: cast removes address space '__rcu' of expression
net/xfrm/xfrm_state.c:2076:69: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct hlist_head *h @@ got struct hlist_head [noderef] __rcu * @@
net/xfrm/xfrm_state.c:2076:69: sparse: expected struct hlist_head *h
net/xfrm/xfrm_state.c:2076:69: sparse: got struct hlist_head [noderef] __rcu *
net/xfrm/xfrm_state.c:2686:31: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct hlist_head [noderef] __rcu *state_bydst @@ got struct hlist_head * @@
net/xfrm/xfrm_state.c:2686:31: sparse: expected struct hlist_head [noderef] __rcu *state_bydst
net/xfrm/xfrm_state.c:2686:31: sparse: got struct hlist_head *
net/xfrm/xfrm_state.c:2689:31: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct hlist_head [noderef] __rcu *state_bysrc @@ got struct hlist_head * @@
net/xfrm/xfrm_state.c:2689:31: sparse: expected struct hlist_head [noderef] __rcu *state_bysrc
net/xfrm/xfrm_state.c:2689:31: sparse: got struct hlist_head *
net/xfrm/xfrm_state.c:2692:31: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct hlist_head [noderef] __rcu *state_byspi @@ got struct hlist_head * @@
net/xfrm/xfrm_state.c:2692:31: sparse: expected struct hlist_head [noderef] __rcu *state_byspi
net/xfrm/xfrm_state.c:2692:31: sparse: got struct hlist_head *
>> net/xfrm/xfrm_state.c:2695:31: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct hlist_head [noderef] __rcu *state_byseq @@ got struct hlist_head * @@
net/xfrm/xfrm_state.c:2695:31: sparse: expected struct hlist_head [noderef] __rcu *state_byseq
net/xfrm/xfrm_state.c:2695:31: sparse: got struct hlist_head *
net/xfrm/xfrm_state.c:2708:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct hlist_head *n @@ got struct hlist_head [noderef] __rcu *state_byspi @@
net/xfrm/xfrm_state.c:2708:33: sparse: expected struct hlist_head *n
net/xfrm/xfrm_state.c:2708:33: sparse: got struct hlist_head [noderef] __rcu *state_byspi
net/xfrm/xfrm_state.c:2710:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct hlist_head *n @@ got struct hlist_head [noderef] __rcu *state_bysrc @@
net/xfrm/xfrm_state.c:2710:33: sparse: expected struct hlist_head *n
net/xfrm/xfrm_state.c:2710:33: sparse: got struct hlist_head [noderef] __rcu *state_bysrc
net/xfrm/xfrm_state.c:2712:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct hlist_head *n @@ got struct hlist_head [noderef] __rcu *state_bydst @@
net/xfrm/xfrm_state.c:2712:33: sparse: expected struct hlist_head *n
net/xfrm/xfrm_state.c:2712:33: sparse: got struct hlist_head [noderef] __rcu *state_bydst
>> net/xfrm/xfrm_state.c:2728:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct hlist_head const *h @@ got struct hlist_head [noderef] __rcu *state_byseq @@
net/xfrm/xfrm_state.c:2728:9: sparse: expected struct hlist_head const *h
net/xfrm/xfrm_state.c:2728:9: sparse: got struct hlist_head [noderef] __rcu *state_byseq
>> net/xfrm/xfrm_state.c:2729:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct hlist_head *n @@ got struct hlist_head [noderef] __rcu *state_byseq @@
net/xfrm/xfrm_state.c:2729:33: sparse: expected struct hlist_head *n
net/xfrm/xfrm_state.c:2729:33: sparse: got struct hlist_head [noderef] __rcu *state_byseq
net/xfrm/xfrm_state.c:2730:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct hlist_head const *h @@ got struct hlist_head [noderef] __rcu *state_byspi @@
net/xfrm/xfrm_state.c:2730:9: sparse: expected struct hlist_head const *h
net/xfrm/xfrm_state.c:2730:9: sparse: got struct hlist_head [noderef] __rcu *state_byspi
net/xfrm/xfrm_state.c:2731:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct hlist_head *n @@ got struct hlist_head [noderef] __rcu *state_byspi @@
net/xfrm/xfrm_state.c:2731:33: sparse: expected struct hlist_head *n
net/xfrm/xfrm_state.c:2731:33: sparse: got struct hlist_head [noderef] __rcu *state_byspi
net/xfrm/xfrm_state.c:2732:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct hlist_head const *h @@ got struct hlist_head [noderef] __rcu *state_bysrc @@
net/xfrm/xfrm_state.c:2732:9: sparse: expected struct hlist_head const *h
net/xfrm/xfrm_state.c:2732:9: sparse: got struct hlist_head [noderef] __rcu *state_bysrc
net/xfrm/xfrm_state.c:2733:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct hlist_head *n @@ got struct hlist_head [noderef] __rcu *state_bysrc @@
net/xfrm/xfrm_state.c:2733:33: sparse: expected struct hlist_head *n
net/xfrm/xfrm_state.c:2733:33: sparse: got struct hlist_head [noderef] __rcu *state_bysrc
net/xfrm/xfrm_state.c:2734:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct hlist_head const *h @@ got struct hlist_head [noderef] __rcu *state_bydst @@
net/xfrm/xfrm_state.c:2734:9: sparse: expected struct hlist_head const *h
net/xfrm/xfrm_state.c:2734:9: sparse: got struct hlist_head [noderef] __rcu *state_bydst
net/xfrm/xfrm_state.c:2735:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct hlist_head *n @@ got struct hlist_head [noderef] __rcu *state_bydst @@
net/xfrm/xfrm_state.c:2735:33: sparse: expected struct hlist_head *n
net/xfrm/xfrm_state.c:2735:33: sparse: got struct hlist_head [noderef] __rcu *state_bydst
net/xfrm/xfrm_state.c: note: in included file (through include/linux/workqueue.h):
include/linux/rcupdate.h:709:9: sparse: sparse: context imbalance in 'xfrm_register_type' - unexpected unlock
include/linux/rcupdate.h:709:9: sparse: sparse: context imbalance in 'xfrm_unregister_type' - unexpected unlock
net/xfrm/xfrm_state.c:328:13: sparse: sparse: context imbalance in 'xfrm_get_type' - unexpected unlock
include/linux/rcupdate.h:709:9: sparse: sparse: context imbalance in 'xfrm_register_type_offload' - unexpected unlock
include/linux/rcupdate.h:709:9: sparse: sparse: context imbalance in 'xfrm_unregister_type_offload' - unexpected unlock
include/linux/rcupdate.h:709:9: sparse: sparse: context imbalance in 'xfrm_get_type_offload' - unexpected unlock
net/xfrm/xfrm_state.c:734:17: sparse: sparse: dereference of noderef expression
net/xfrm/xfrm_state.c:795:17: sparse: sparse: dereference of noderef expression
net/xfrm/xfrm_state.c:755:17: sparse: sparse: dereference of noderef expression
net/xfrm/xfrm_state.c:839:17: sparse: sparse: dereference of noderef expression
net/xfrm/xfrm_state.c:54:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct refcount_struct [usertype] *r @@ got struct refcount_struct [noderef] __rcu * @@
net/xfrm/xfrm_state.c:54:39: sparse: expected struct refcount_struct [usertype] *r
net/xfrm/xfrm_state.c:54:39: sparse: got struct refcount_struct [noderef] __rcu *
net/xfrm/xfrm_state.c:54:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct refcount_struct [usertype] *r @@ got struct refcount_struct [noderef] __rcu * @@
net/xfrm/xfrm_state.c:54:39: sparse: expected struct refcount_struct [usertype] *r
net/xfrm/xfrm_state.c:54:39: sparse: got struct refcount_struct [noderef] __rcu *
net/xfrm/xfrm_state.c:54:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct refcount_struct [usertype] *r @@ got struct refcount_struct [noderef] __rcu * @@
net/xfrm/xfrm_state.c:54:39: sparse: expected struct refcount_struct [usertype] *r
net/xfrm/xfrm_state.c:54:39: sparse: got struct refcount_struct [noderef] __rcu *
net/xfrm/xfrm_state.c:1227:9: sparse: sparse: dereference of noderef expression
net/xfrm/xfrm_state.c:1321:9: sparse: sparse: dereference of noderef expression
net/xfrm/xfrm_state.c:1356:9: sparse: sparse: dereference of noderef expression
net/xfrm/xfrm_state.c: note: in included file:
include/net/xfrm.h:1731:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
include/net/xfrm.h:1731:16: sparse: struct sock [noderef] __rcu *
include/net/xfrm.h:1731:16: sparse: struct sock *
vim +2695 net/xfrm/xfrm_state.c
2673
2674 int __net_init xfrm_state_init(struct net *net)
2675 {
2676 unsigned int sz;
2677
2678 if (net_eq(net, &init_net))
2679 xfrm_state_cache = KMEM_CACHE(xfrm_state,
2680 SLAB_HWCACHE_ALIGN | SLAB_PANIC);
2681
2682 INIT_LIST_HEAD(&net->xfrm.state_all);
2683
2684 sz = sizeof(struct hlist_head) * 8;
2685
2686 net->xfrm.state_bydst = xfrm_hash_alloc(sz);
2687 if (!net->xfrm.state_bydst)
2688 goto out_bydst;
2689 net->xfrm.state_bysrc = xfrm_hash_alloc(sz);
2690 if (!net->xfrm.state_bysrc)
2691 goto out_bysrc;
2692 net->xfrm.state_byspi = xfrm_hash_alloc(sz);
2693 if (!net->xfrm.state_byspi)
2694 goto out_byspi;
> 2695 net->xfrm.state_byseq = xfrm_hash_alloc(sz);
2696 if (!net->xfrm.state_byseq)
2697 goto out_byseq;
2698 net->xfrm.state_hmask = ((sz / sizeof(struct hlist_head)) - 1);
2699
2700 net->xfrm.state_num = 0;
2701 INIT_WORK(&net->xfrm.state_hash_work, xfrm_hash_resize);
2702 spin_lock_init(&net->xfrm.xfrm_state_lock);
2703 seqcount_spinlock_init(&net->xfrm.xfrm_state_hash_generation,
2704 &net->xfrm.xfrm_state_lock);
2705 return 0;
2706
2707 out_byseq:
2708 xfrm_hash_free(net->xfrm.state_byspi, sz);
2709 out_byspi:
2710 xfrm_hash_free(net->xfrm.state_bysrc, sz);
2711 out_bysrc:
2712 xfrm_hash_free(net->xfrm.state_bydst, sz);
2713 out_bydst:
2714 return -ENOMEM;
2715 }
2716
2717 void xfrm_state_fini(struct net *net)
2718 {
2719 unsigned int sz;
2720
2721 flush_work(&net->xfrm.state_hash_work);
2722 flush_work(&xfrm_state_gc_work);
2723 xfrm_state_flush(net, 0, false, true);
2724
2725 WARN_ON(!list_empty(&net->xfrm.state_all));
2726
2727 sz = (net->xfrm.state_hmask + 1) * sizeof(struct hlist_head);
> 2728 WARN_ON(!hlist_empty(net->xfrm.state_byseq));
> 2729 xfrm_hash_free(net->xfrm.state_byseq, sz);
2730 WARN_ON(!hlist_empty(net->xfrm.state_byspi));
2731 xfrm_hash_free(net->xfrm.state_byspi, sz);
2732 WARN_ON(!hlist_empty(net->xfrm.state_bysrc));
2733 xfrm_hash_free(net->xfrm.state_bysrc, sz);
2734 WARN_ON(!hlist_empty(net->xfrm.state_bydst));
2735 xfrm_hash_free(net->xfrm.state_bydst, sz);
2736 }
2737
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists