aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_state.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-01xfrm: Add Direction to the SA in or outAntony Antony1-0/+8
2024-02-05xfrm: get global statistics from the offloaded deviceLeon Romanovsky1-0/+13
2024-02-05xfrm: generalize xdo_dev_state_update_curlft to allow statistics updateLeon Romanovsky1-2/+2
2023-08-01xfrm: don't skip free of empty state in acquire policyLeon Romanovsky1-6/+2
2023-03-22Merge tag 'ipsec-libreswan-mlx5' of https://git.kernel.org/pub/scm/linux/kern...Jakub Kicinski1-0/+1
2023-03-20xfrm: add new device offload acquire flagRaed Salem1-0/+1
2023-03-16Merge tag 'ipsec-2023-03-15' of git://git.kernel.org/pub/scm/linux/kernel/git...Jakub Kicinski1-5/+0
2023-02-24xfrm: Allow transport-mode states with AF_UNSPEC selectorHerbert Xu1-5/+0
2023-02-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-9/+9
2023-01-27xfrm: annotate data-race around use_timeEric Dumazet1-5/+5
2023-01-27xfrm: consistently use time64_t in xfrm_timer_handler()Eric Dumazet1-4/+4
2023-01-26xfrm: extend add state callback to set failure reasonLeon Romanovsky1-1/+1
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-23/+189
2022-12-05xfrm: add support to HW update soft and hard limitsLeon Romanovsky1-0/+4
2022-12-05xfrm: speed-up lookup of HW policiesLeon Romanovsky1-15/+51
2022-12-05xfrm: add TX datapath support for IPsec packet offload modeLeon Romanovsky1-3/+118
2022-11-29Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...Jakub Kicinski1-5/+16
2022-11-25xfrm: add extack to xfrm_alloc_userspiSabrina Dubroca1-5/+16
2022-11-18treewide: use get_random_u32_inclusive() when possibleJason A. Donenfeld1-1/+1
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-1/+1
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-1/+1
2022-10-03Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-9/+21
2022-09-29xfrm: pass extack down to xfrm_type ->init_stateSabrina Dubroca1-1/+1
2022-09-22xfrm: add extack support to xfrm_init_replaySabrina Dubroca1-1/+1
2022-09-22xfrm: add extack to __xfrm_init_stateSabrina Dubroca1-7/+19
2022-08-24Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-0/+1
2022-08-03xfrm: clone missing x->lastused in xfrm_do_migrateAntony Antony1-0/+1
2022-07-25Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-4/+2
2022-07-15ip: Fix data-races around sysctl_ip_no_pmtu_disc.Kuniyuki Iwashima1-1/+1
2022-06-24xfrm: change the type of xfrm_register_km and xfrm_unregister_kmZhengchao Shao1-4/+2
2022-05-06xfrm: rename xfrm_state_offload struct to allow reuseLeon Romanovsky1-2/+2
2022-01-27Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6"Jiri Bohac1-12/+2
2022-01-26xfrm: Fix xfrm migrate issues when address family changesYan Yan1-3/+5
2022-01-26xfrm: Check if_id in xfrm_migrateYan Yan1-1/+6
2022-01-06Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-1/+22
2021-12-29net: Don't include filter.h from net/sock.hJakub Kicinski1-0/+1
2021-12-23xfrm: rate limit SA mapping change message to user spaceAntony Antony1-1/+22
2021-06-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+12
2021-06-21xfrm: replay: avoid xfrm replay notify indirectionFlorian Westphal1-1/+1
2021-05-14xfrm: add state hashtable keyed by seqSabrina Dubroca1-13/+52
2021-04-19xfrm: xfrm_state_mtu should return at least 1280 for ipv6Sabrina Dubroca1-2/+12
2021-03-22net: xfrm: Use sequence counter with associated spinlockAhmed S. Darwish1-1/+2
2021-03-22net: xfrm: Localize sequence counter per network namespaceAhmed S. Darwish1-5/+5
2020-12-16Merge tag 'selinux-pr-20201214' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+4
2020-11-23lsm,selinux: pass flowi_common instead of flowi to the LSM hooksPaul Moore1-2/+4
2020-11-10net: xfrm: fix memory leak in xfrm_user_policy()Yu Kuai1-1/+3
2020-11-04Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...Jakub Kicinski1-3/+5
2020-10-23net: xfrm: fix a race condition during allocing spizhuoliang zhang1-3/+5
2020-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-5/+37
2020-09-25xfrm: Use correct address family in xfrm_state_findHerbert Xu1-4/+7
2020-09-24xfrm/compat: Translate 32-bit user_policy from sockptrDmitry Safonov1-3/+14
2020-09-24xfrm: Provide API to register translator moduleDmitry Safonov1-0/+60
2020-09-07xfrm: clone whole liftime_cur structure in xfrm_do_migrateAntony Antony1-1/+1
2020-09-07xfrm: clone XFRMA_SEC_CTX in xfrm_do_migrateAntony Antony1-0/+28
2020-09-07xfrm: clone XFRMA_SET_MARK in xfrm_do_migrateAntony Antony1-0/+1
2020-07-24net/xfrm: switch xfrm_user_policy to sockptr_tChristoph Hellwig1-3/+3
2020-02-19xfrm: Use kmem_cache_zalloc() instead of kmem_cache_alloc() with flag GFP_ZERO.Huang Zijiang1-1/+1
2019-12-09xfrm: add espintcp (RFC 8229)Sabrina Dubroca1-0/+3
2019-11-07xfrm: Fix memleak on xfrm state destroySteffen Klassert1-0/+2
2019-07-01xfrm: remove get_mtu indirection from xfrm_typeFlorian Westphal1-5/+29
2019-06-06xfrm: remove type and offload_type map from xfrm_state_afinfoFlorian Westphal1-52/+127
2019-06-06xfrm: remove state and template sort indirections from xfrm_state_afinfoFlorian Westphal1-27/+105
2019-06-05xfrm: remove init_flags indirection from xfrm_state_afinfoFlorian Westphal1-14/+3
2019-06-05xfrm: remove init_temprop indirection from xfrm_state_afinfoFlorian Westphal1-7/+20
2019-06-05xfrm: remove init_tempsel indirection from xfrm_state_afinfoFlorian Westphal1-7/+49
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-115/+71
2019-05-06Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-12/+18
2019-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2019-04-23xfrm: remove unneeded export_symbolsFlorian Westphal1-3/+2
2019-04-08xfrm: store xfrm_mode directly, not its addressFlorian Westphal1-8/+8
2019-04-08xfrm: make xfrm modes builtinFlorian Westphal1-97/+61
2019-04-08xfrm: remove afinfo pointer from xfrm_modeFlorian Westphal1-2/+2
2019-04-08xfrm: place af number into xfrm_mode structFlorian Westphal1-13/+6
2019-03-26xfrm: clean up xfrm protocol checksCong Wang1-1/+1
2019-03-22xfrm: Replace hrtimer tasklet with softirq hrtimerThomas Gleixner1-12/+18
2019-02-05xfrm: destroy xfrm_state synchronously on net exit pathCong Wang1-11/+19
2018-12-18Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-2/+8
2018-11-23xfrm_user: fix freeing of xfrm states on acquireMathias Krause1-1/+7
2018-11-06xfrm: Fix bucket count reported to userspaceBenjamin Poirier1-1/+1
2018-11-01compat: Cleanup in_compat_syscall() callersDmitry Safonov1-2/+0
2018-07-20xfrm: Allow xfrmi if_id to be updated by UPDSANathan Harold1-2/+6
2018-07-20xfrm: Remove xfrmi interface ID from flowiBenedict Wong1-2/+1
2018-07-11xfrm: use time64_t for in-kernel timestampsArnd Bergmann1-5/+5
2018-07-01xfrm: Allow Set Mark to be Updated Using UPDSANathan Harold1-0/+9
2018-06-25xfrm: policy: remove pcpu policy cacheFlorian Westphal1-3/+2
2018-06-23xfrm: Add a new lookup key to match xfrm interfaces.Steffen Klassert1-5/+14
2018-05-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+6
2018-05-04xfrm: use a dedicated slab cache for struct xfrm_stateMathias Krause1-2/+7
2018-04-16xfrm: Fix warning in xfrm6_tunnel_net_exit.Steffen Klassert1-0/+6
2018-02-02xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systemsSteffen Klassert1-0/+5
2018-01-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+8
2018-01-23xfrm: fix boolean assignment in xfrm_get_type_offloadGustavo A. R. Silva1-1/+1
2018-01-18xfrm: Add SA to hardware at the end of xfrm_state_construct()Yossi Kuperman1-3/+7
2018-01-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+9
2017-12-31xfrm: fix rcu usage in xfrm_get_type_offloadSabrina Dubroca1-1/+2
2017-12-30xfrm: Forbid state updates from changing encap typeHerbert Xu1-1/+7
2017-12-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2017-12-27Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-0/+1
2017-12-08xfrm: fix xfrm_do_migrate() with AEAD e.g(AES-GCM)Antony Antony1-0/+1
2017-11-30net: xfrm: allow clearing socket xfrm policies.Lorenzo Colitti1-0/+7
2017-11-21treewide: setup_timer() -> timer_setup()Kees Cook1-5/+4
2017-10-26xfrm: Clear sk_dst_cache when applying per-socket policy.Jonathan Basseri1-0/+1
2017-09-28xfrm: don't call xfrm_policy_cache_flush under xfrm_state_lockArtem Savkov1-2/+2
2017-09-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+8
2017-08-02xfrm: fix null pointer dereference on state and tmpl sortKoichiro Den1-0/+8
2017-08-02xfrm: Auto-load xfrm offload modulesIlan Tayari1-4/+12
2017-07-18xfrm: add xdst pcpu cacheFlorian Westphal1-2/+3
2017-07-04net, xfrm: convert xfrm_state.refcnt from atomic_t to refcount_tReshetova, Elena1-2/+2
2017-06-23Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-15/+20
2017-06-07xfrm: add UDP encapsulation port in migrate messageAntony Antony1-2/+4
2017-06-07xfrm: extend MIGRATE with UDP encapsulation portAntony Antony1-5/+13
2017-05-19xfrm: fix state migration copy replay sequence numbersAntony Antony1-0/+2
2017-05-16xfrm: use memdup_userGeliang Tang1-8/+3
2017-04-14xfrm: Add an IPsec hardware offloading APISteffen Klassert1-0/+74
2017-04-14xfrm: Add a xfrm type offload.Steffen Klassert1-0/+73
2017-01-16xfrm: fix possible null deref in xfrm_init_tempstateFlorian Westphal1-2/+4
2017-01-10xfrm: state: simplify rcu_read_unlock handling in two spotsFlorian Westphal1-6/+7
2017-01-10xfrm: add and use xfrm_state_afinfo_get_rcuFlorian Westphal1-10/+15
2017-01-10xfrm: remove xfrm_state_put_afinfoFlorian Westphal1-18/+13
2017-01-10xfrm: avoid rcu sparse warningFlorian Westphal1-8/+8
2017-01-06xfrm: state: do not acquire lock in get_mtu helpersFlorian Westphal1-8/+5
2017-01-04xfrm: trivial typosAlexander Alemayhu1-1/+1
2016-12-25ktime: Cleanup ktime_set() usageThomas Gleixner1-1/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-09-30xfrm: remove unused helperFlorian Westphal1-8/+0
2016-09-24Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-2/+2
2016-09-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2016-09-21xfrm: state lookup can be locklessFlorian Westphal1-2/+2
2016-09-19xfrm: Fix memory leak of aead algorithm nameIlan Tayari1-0/+1
2016-08-24xfrm: state: remove per-netns gc taskFlorian Westphal1-9/+9
2016-08-10xfrm: state: don't use lock anymore unless acquire operation is neededFlorian Westphal1-2/+4
2016-08-10xfrm: state: use rcu_deref and assign_pointer helpersFlorian Westphal1-8/+10
2016-08-10xfrm: state: add sequence count to detect hash resizesFlorian Westphal1-0/+15
2016-08-10xfrm: state: delay freeing until rcu grace period has elapsedFlorian Westphal1-0/+5
2016-08-10xfrm: state: use atomic_inc_not_zero to increment refcountFlorian Westphal1-5/+16
2016-08-10xfrm: state: use hlist_for_each_entry_rcu helperFlorian Westphal1-19/+19
2015-06-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2015-04-29xfrm: fix a race in xfrm_state_lookup_byspiLi RongQing1-1/+1
2015-04-23xfrm: fix the return code when xfrm_*_register_afinfo failedLi RongQing1-1/+1
2015-04-23xfrm: optimise the use of walk list header in xfrm_policy/state_walkLi RongQing1-1/+1
2015-03-31xfrm: simplify xfrm_address_t useJiri Benc1-4/+4
2014-08-29xfrm: remove useless hash_resize_mutex locksYing Xue1-10/+3
2014-04-23xfrm: Remove useless xfrm_audit struct.Tetsuo Handa1-22/+12
2014-04-22xfrm: Remove useless secid field from xfrm_audit.Tetsuo Handa1-10/+7
2014-03-18Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-2/+2
2014-03-07xfrm: rename struct xfrm_filterNicolas Dichtel1-2/+2
2014-03-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+17
2014-02-21xfrm: Cleanup error handling of xfrm_state_cloneSteffen Klassert1-11/+5
2014-02-20xfrm: Clone states properly on migrationSteffen Klassert1-0/+8
2014-02-20xfrm: Take xfrm_state_lock in xfrm_migrate_state_findSteffen Klassert1-5/+8
2014-02-20xfrm: Fix NULL pointer dereference on sub policy usageSteffen Klassert1-1/+1
2014-02-17ipsec: add support of limited SA dumpNicolas Dichtel1-1/+24
2014-02-13xfrm: avoid creating temporary SA when there are no listenersHoria Geanta1-0/+31
2014-01-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-80/+111
2014-01-23Merge git://git.infradead.org/users/eparis/auditLinus Torvalds1-3/+3
2014-01-14net: replace macros net_random and net_srandom with direct calls to prandomAruna-Hewapathirane1-1/+1
2014-01-13audit: convert all sessionid declaration to unsigned intEric Paris1-3/+3
2014-01-03{pktgen, xfrm} Introduce xfrm_state_lookup_byspi for pktgenFan Du1-0/+22
2014-01-03{pktgen, xfrm} Correct xfrm_state_lock usage in xfrm_stateonly_findFan Du1-2/+2
2014-01-02xfrm: checkpatch errors with foo * barWeilong Chen1-4/+4
2014-01-02xfrm: checkpatch errors with spaceWeilong Chen1-5/+5
2013-12-16xfrm: export verify_userspi_info for pkfey and netlink interfaceFan Du1-0/+24
2013-12-06xfrm: Remove ancient sleeping when the SA is in acquire stateSteffen Klassert1-20/+1
2013-12-06xfrm: Namespacify xfrm state/policy locksFan Du1-50/+54
2013-10-01xfrm: Simplify SA looking up when using wildcard sourceFan Du1-1/+1
2013-10-01xfrm: Force SA to be lookup again if SA in acquire stateFan Du1-1/+1
2013-09-30Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-1/+1
2013-09-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+2
2013-08-26xfrm: announce deleation of temporary SANicolas Dichtel1-1/+1
2013-08-16xfrm: Make xfrm_state timer monotonicFan Du1-1/+2
2013-08-14xfrm: make local error reporting more robustHannes Frederic Sowa1-5/+2
2013-08-05xfrm: constify mark argument of xfrm_find_acq()Mathias Krause1-5/+7
2013-03-06xfrm: allow to avoid copying DSCP during encapsulationNicolas Dichtel1-0/+1
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-26/+16
2013-01-29xfrm: Convert xfrm_addr_cmp() to boolean xfrm_addr_equal().YOSHIFUJI Hideaki / 吉藤英明1-17/+17
2013-01-17xfrm: use separated locks to protect pointers of struct xfrm_state_afinfoCong Wang1-25/+18
2013-01-16xfrm: replace rwlock on xfrm_km_list with rcuCong Wang1-28/+30
2013-01-16xfrm: replace rwlock on xfrm_state_afinfo with rcuCong Wang1-17/+16
2013-01-07xfrm: removes a superfluous check and add a statisticLi RongQing1-3/+0
2012-10-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-6/+6
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-3/+3
2012-09-17userns: Convert the audit loginuid to be a kuidEric W. Biederman1-3/+3
2012-09-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2012-09-10netlink: Rename pid to portid to avoid confusionEric W. Biederman1-5/+5
2012-08-31net/xfrm/xfrm_state.c: fix error return codeJulia Lawall1-1/+3
2012-08-15xfrm: remove redundant parameter "int dir" in struct xfrm_mgr.acquireFan Du1-1/+1
2012-08-02Fix unexpected SA hard expiration after changing dateFan Du1-4/+17
2011-11-22net: remove ipv6_addr_copy()Alexey Dobriyan1-8/+4
2011-07-08XFRM: Fix memory leak in xfrm_state_updateTushar Gohad1-0/+2
2011-04-22inet: constify ip headers and in6_addrEric Dumazet1-6/+6
2011-03-28xfrm: Assign esn pointers when cloning a stateSteffen Klassert1-0/+6
2011-03-21xfrm: Fix initialize repl field of struct xfrm_stateWei Yongjun1-1/+14
2011-03-13xfrm: Add user interface for esn and big anti-replay windowsSteffen Klassert1-0/+2
2011-03-13xfrm: Move IPsec replay detection functions to a separate fileSteffen Klassert1-108/+3
2011-03-12net: Put flowi_* prefix on AF independent members of struct flowiDavid S. Miller1-1/+1
2011-02-27xfrm: Pass const xfrm_address_t objects to xfrm_state_lookup* and xfrm_find_acq.David S. Miller1-4/+8
2011-02-23xfrm: Const'ify xfrm_address_t args to xfrm_state_find.David S. Miller1-2/+2
2011-02-23xfrm: Remove unused 'saddr' and 'daddr' args to xfrm_state_look_at.David S. Miller1-3/+2
2011-02-23xfrm: Const'ify xfrm_address_t args to __xfrm_state_lookup{,_byaddr}.David S. Miller1-2/+8