aboutsummaryrefslogtreecommitdiffstats
path: root/net/key
AgeCommit message (Expand)AuthorFilesLines
2024-02-09net: fill in MODULE_DESCRIPTION()s for af_keyBreno Leitao1-0/+1
2023-08-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2023-07-19Merge tag 'ipsec-next-2023-07-19' of git://git.kernel.org/pub/scm/linux/kerne...Jakub Kicinski1-1/+0
2023-06-29net: af_key: fix sadb_x_filter validationLin Ma1-2/+2
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-1/+0
2023-06-09xfrm: delete not-needed clear to zero of encap_oaLeon Romanovsky1-1/+0
2023-05-10af_key: Reject optional tunnel/BEET mode templates in outbound policiesTobias Brunner1-4/+8
2023-02-13af_key: Fix heap information leakHyunwoo Kim1-1/+1
2022-11-29Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...Jakub Kicinski1-3/+3
2022-11-25xfrm: add extack to xfrm_alloc_userspiSabrina Dubroca1-2/+2
2022-11-25xfrm: add extack to xfrm_do_migrateSabrina Dubroca1-1/+1
2022-11-22xfrm: Fix oops in __xfrm_state_delete()Thomas Jarosch1-1/+1
2022-10-27af_key: Fix send_acquire race with pfkey_registerHerbert Xu1-10/+22
2022-08-24Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-0/+3
2022-08-05af_key: Do not call xfrm_probe_algs in parallelHerbert Xu1-0/+3
2022-06-24xfrm: change the type of xfrm_register_km and xfrm_unregister_kmZhengchao Shao1-5/+1
2022-06-01Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...Jakub Kicinski1-4/+6
2022-05-25Revert "net: af_key: add check for pfkey_broadcast in function pfkey_process"Michal Kubecek1-4/+6
2022-05-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+7
2022-05-18net: af_key: check encryption module availability consistencyThomas Bartschies1-3/+3
2022-05-18net: af_key: add check for pfkey_broadcast in function pfkey_processJiasheng Jiang1-2/+4
2022-04-28net: SO_RCVMARK socket option for SO_MARK with recvmsg()Erin MacNeil1-1/+1
2022-04-06net: remove noblock parameter from skb_recv_datagram()Oliver Hartkopp1-1/+1
2022-03-10af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_regi...Haimin Zhang1-1/+1
2022-01-26xfrm: Check if_id in xfrm_migrateYan Yan1-1/+1
2021-05-26net: Remove unnecessary variableszuoqilin1-5/+1
2021-01-04af_key: relax availability checks for skb size calculationCong Wang1-3/+3
2020-08-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+9
2020-07-22af_key: pfkey_dump needs parameter validationMark Salyzyn1-0/+7
2020-07-19net: make ->{get,set}sockopt in proto_ops optionalChristoph Hellwig1-2/+0
2020-06-24xfrm: policy: match with both mark and mask on user interfacesXin Long1-2/+2
2019-07-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+6
2019-07-05Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-2/+6
2019-06-09af_key: make use of BUG_ON macroHariprasad Kelam1-4/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-28af_key: fix leaks in key_pol_get_resp and dump_sp.Jeremy Sowden1-2/+6
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-03-26xfrm: clean up xfrm protocol checksCong Wang1-1/+3
2019-02-12af_key: unconditionally clone on broadcastSean Tranchetti1-25/+15
2019-02-05xfrm: destroy xfrm_state synchronously on net exit pathCong Wang1-1/+1
2018-11-15af_key: fix indentation on declaration statementColin Ian King1-1/+1
2018-07-27Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-3/+3
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds1-1/+1
2018-06-23xfrm: Add a new lookup key to match xfrm interfaces.Steffen Klassert1-3/+3
2018-06-04Merge branch 'work.aio-1' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-1/+1
2018-05-26net: convert datagram_poll users tp ->poll_maskChristoph Hellwig1-1/+1
2018-05-16proc: introduce proc_create_net{,_data}Christoph Hellwig1-14/+2
2018-04-09af_key: Always verify length of provided sadb_keyKevin Easton1-10/+35
2018-01-10af_key: Fix memory leak in key_notify_policy.Steffen Klassert1-1/+3
2017-12-30af_key: fix buffer overread in parse_exthdrs()Eric Biggers1-0/+3
2017-12-30af_key: fix buffer overread in verify_address_len()Eric Biggers1-0/+5
2017-11-14af_key: replace BUG_ON on WARN_ON in net_exit hookVasily Averin1-1/+1
2017-08-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-22/+26
2017-08-14af_key: do not use GFP_KERNEL in atomic contextsEric Dumazet1-22/+26
2017-07-18xfrm: remove flow cacheFlorian Westphal1-6/+0
2017-07-04net, xfrm: convert xfrm_policy.refcnt from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-07-01net: convert sock.sk_refcnt from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-07-01net: convert sock.sk_wmem_alloc from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-07-01net: convert sk_buff.users from atomic_t to refcount_tReshetova, Elena1-2/+2
2017-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+15
2017-06-23Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-3/+5
2017-06-16networking: make skb_put & friends return void pointersJohannes Berg1-66/+50
2017-06-16networking: introduce and use skb_put_data()Johannes Berg1-2/+1
2017-06-16networking: convert many more places to skb_put_zero()Johannes Berg1-6/+3
2017-06-14xfrm: NULL dereference on allocation failureDan Carpenter1-0/+1
2017-06-14xfrm: Oops on error in pfkey_msg2xfrm_state()Dan Carpenter1-4/+12
2017-06-12xfrm: move xfrm_garbage_collect out of xfrm_policy_flushHangbin Liu1-0/+2
2017-06-07xfrm: add UDP encapsulation port in migrate messageAntony Antony1-2/+4
2017-06-07xfrm: extend MIGRATE with UDP encapsulation portAntony Antony1-1/+1
2017-05-08af_key: Fix slab-out-of-bounds in pfkey_compile_policy.Steffen Klassert1-1/+1
2017-04-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-29/+64
2017-04-18af_key: Fix sadb_x_ipsecrequest parsingHerbert Xu1-21/+26
2017-04-03af_key: Add lock to key dumpYuejie Shi1-8/+38
2017-03-24xfrm: remove unused struct xfrm_mgr::idAlexey Dobriyan1-1/+0
2016-11-18netns: make struct pernet_operations::id unsigned intAlexey Dobriyan1-1/+1
2015-10-23af_key: fix two typosLi RongQing1-1/+1
2015-08-24net: Fix RCU splat in af_keyDavid Ahern1-23/+23
2015-06-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+1
2015-05-28ipsec: Add IV generator information to xfrm_stateHerbert Xu1-0/+1
2015-05-11net: Pass kern from net_proto_family.create to sk_allocEric W. Biederman1-1/+1
2015-03-31xfrm: simplify xfrm_address_t useJiri Benc1-1/+1
2015-03-02net: Remove iocb argument from sendmsg and recvmsgYing Xue1-4/+2
2014-11-24new helper: memcpy_from_msg()Al Viro1-1/+1
2014-11-05net: Add and use skb_copy_datagram_msg() helper.David S. Miller1-1/+1
2014-07-15af_key: remove unnecessary break after returnFabian Frederick1-3/+0
2014-05-30af_key: Replace comma with semicolonHimangi Saraogi1-1/+1
2014-04-23xfrm: Remove useless xfrm_audit struct.Tetsuo Handa1-23/+7
2014-04-22xfrm: Remove useless secid field from xfrm_audit.Tetsuo Handa1-7/+5
2014-04-11net: Fix use after free by removing length arg from sk_data_ready callbacks.David S. Miller1-1/+1
2014-03-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+10
2014-03-10selinux: add gfp argument to security_xfrm_policy_alloc and fix callersNikolay Aleksandrov1-3/+3
2014-03-10net: af_key: fix sleeping under rcuNikolay Aleksandrov1-6/+7
2014-03-07xfrm: rename struct xfrm_filterNicolas Dichtel1-1/+1
2014-02-21pfkey: fix SADB_X_EXT_FILTER length checkNicolas Dichtel1-0/+1
2014-02-17ipsec: add support of limited SA dumpNicolas Dichtel1-1/+18
2014-02-13xfrm: avoid creating temporary SA when there are no listenersHoria Geanta1-0/+19
2013-12-16xfrm: export verify_userspi_info for pkfey and netlink interfaceFan Du1-0/+6
2013-12-06xfrm: Remove ancient sleeping when the SA is in acquire stateSteffen Klassert1-3/+2
2013-12-06xfrm: Namespacify xfrm state/policy locksFan Du1-5/+10
2013-12-06xfrm: Using the right namespace to migrate key infoFan Du1-1/+2
2013-11-20net: rework recvmsg handler msg_name and msg_namelen logicHannes Frederic Sowa1-1/+0
2013-09-17xfrm: Guard IPsec anti replay window against replay bitmapFan Du1-1/+2
2013-08-07xfrm: Remove rebundant address family checkingFan Du1-8/+0
2013-08-05af_key: constify lookup tablesMathias Krause1-2/+2
2013-08-05xfrm: constify mark argument of xfrm_find_acq()Mathias Krause1-1/+1
2013-07-30af_key: more info leaks in pfkey messagesDan Carpenter1-0/+4
2013-06-26af_key: fix info leaks in notify messagesMathias Krause1-0/+2
2013-05-31xfrm: force a garbage collection after deleting a policyPaul Moore1-0/+4
2013-03-27Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-0/+1
2013-03-07afkey: fix a typoJunwei Zhang1-4/+4
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-2/+1
2013-02-21af_key: initialize satype in key_notify_policy_flush()Nicolas Dichtel1-0/+1
2013-02-18net: proc: change proc_net_remove to remove_proc_entryGao feng1-1/+1
2013-02-18net: proc: change proc_net_fops_create to proc_createGao feng1-1/+1
2013-02-14Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-9/+31
2013-02-01pf_key/xfrm_algo: prepare pf_key and xfrm_algo for new algorithms without pfk...Jussi Kivilinna1-8/+31
2013-01-29xfrm: Convert xfrm_addr_cmp() to boolean xfrm_addr_equal().YOSHIFUJI Hideaki / 吉藤英明1-4/+4
2013-01-28af_key: remove a duplicated skb_orphan()Cong Wang1-1/+0
2012-11-18net: Allow userns root to control llc, netfilter, netlink, packet, and xfrmEric W. Biederman1-1/+1
2012-10-01net/key/af_key.c: add range checks on ->sadb_x_policy_lenDan Carpenter1-0/+3
2012-09-10netlink: Rename pid to portid to avoid confusionEric W. Biederman1-16/+16
2012-08-24Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ebie...David S. Miller1-1/+1
2012-08-15xfrm: remove redundant parameter "int dir" in struct xfrm_mgr.acquireFan Du1-2/+2
2012-08-14userns: Print out socket uids in a user namespace aware fashion.Eric W. Biederman1-1/+1
2012-04-15net: cleanup unsigned to unsigned intEric Dumazet1-2/+2
2012-04-13net/key/af_key.c: add missing kfree_skbJulia Lawall1-1/+1
2011-12-11net: use IS_ENABLED(CONFIG_IPV6)Eric Dumazet1-9/+9
2011-11-22net: remove ipv6_addr_copy()Alexey Dobriyan1-1/+1
2011-06-16net: Remove casts of void *Joe Perches1-10/+10
2011-05-24net: convert %p usage to %pKDan Rosenberg1-1/+1
2011-04-22inet: constify ip headers and in6_addrEric Dumazet1-1/+1
2011-03-01pfkey: fix warningStephen Hemminger1-1/+1
2011-02-25pfkey: Use const where possible.David S. Miller1-94/+107
2011-02-23xfrm: Const'ify pointer args to km_migrate() and implementations.David S. Miller1-11/+11
2011-02-23xfrm: Pass km_event pointers around as const when possible.David S. Miller1-8/+8
2011-02-23afkey: add sparse annotation about rcustephen hemminger1-0/+2
2010-09-23net: return operator cleanupEric Dumazet1-2/+2
2010-05-17pfkey: add severity to printkstephen hemminger1-5/+5
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-24af_key: return error if pfkey_xfrm_policy2msg_prep() failsDan Carpenter1-5/+3
2010-02-22xfrm: SP lookups signature with markJamal Hadi Salim1-2/+2
2010-02-22xfrm: SA lookups signature with markJamal Hadi Salim1-6/+8
2010-02-22af_key: locking changestephen hemminger1-60/+16
2010-02-19xfrm: Flushing empty SPD generates false eventsJamal Hadi Salim1-2/+5
2010-02-19xfrm: Flushing empty SAD generates false eventsJamal Hadi Salim1-1/+4
2010-02-19pfkey: fix SA and SP flush sequenceJamal Hadi Salim1-6/+27
2010-02-17xfrm: Revert false event eliding commits.David S. Miller1-2/+2
2010-02-15xfrm: Flushing empty SPD generates false eventsjamal1-1/+1
2010-02-15xfrm: Flushing empty SAD generates false eventsjamal1-1/+1
2010-02-10net: af_key: use seq_hlist_foo() helpersLi Zefan1-17/+3
2010-02-03Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-7/+8
2010-02-03af_key: fix netns ops ordering on module load/unloadAlexey Dobriyan1-7/+8
2010-02-02xfrm: avoid spinlock in get_acqseq()Eric Dumazet1-5/+4
2010-01-17net: spread __net_init, __net_exitAlexey Dobriyan1-3/+3
2009-12-11xfrm: Fix truncation length of authentication algorithms installed via PF_KEYMartin Willi1-0/+1
2009-12-01net: Simplify af_key pernet operations.Eric W. Biederman1-19/+6
2009-11-18netns: net_identifiers should be read_mostlyEric Dumazet1-1/+1
2009-11-05net: pass kern to net_proto_family create functionEric Paris1-1/+2
2009-10-12net: Generalize socket rx gap / receive queue overflow cmsgNeil Horman1-1/+1
2009-10-07net: mark net_proto_ops as constStephen Hemminger1-1/+1
2009-09-02net: file_operations should be constStephen Hemminger1-1/+1
2009-09-02net: seq_operations should be constStephen Hemminger1-1/+1
2009-06-18net: correct off-by-one write allocations reportsEric Dumazet1-2/+2
2009-02-26af_key: remove some pointless conditionals before kfree_skb()Wei Yongjun1-4/+2
2009-01-25af_key: initialize xfrm encap_oaTimo Teras1-0/+1
2008-11-25netns PF_KEY: per-netns /proc/pfkeyAlexey Dobriyan1-17/+17
2008-11-25netns PF_KEY: part 2Alexey Dobriyan1-45/+60
2008-11-25netns PF_KEY: part 1Alexey Dobriyan1-15/+73
2008-11-25netns xfrm: pass netns with KM notificationsAlexey Dobriyan1-0/+2
2008-11-25netns xfrm: policy walking in netnsAlexey Dobriyan1-2/+2
2008-11-25netns xfrm: finding policy in netnsAlexey Dobriyan1-3/+3
2008-11-25netns xfrm: policy flushing in netnsAlexey Dobriyan1-1/+1
2008-11-25netns xfrm: state walking in netnsAlexey Dobriyan1-1/+1
2008-11-25netns xfrm: finding states in netnsAlexey Dobriyan1-3/+3
2008-11-25netns xfrm: state lookup in netnsAlexey Dobriyan1-1/+1
2008-11-25netns xfrm: state flush in netnsAlexey Dobriyan1-1/+1
2008-11-25netns xfrm: add struct xfrm_policy::xp_netAlexey Dobriyan1-2/+2
2008-11-25netns xfrm: per-netns km_waitqAlexey Dobriyan1-1/+1
2008-11-25netns xfrm: add struct xfrm_state::xs_netAlexey Dobriyan1-1/+1
2008-11-06af_key: mark policy as dead before destroyingAlexey Dobriyan1-0/+1
2008-10-31key: fix setkey(8) policy set breakageAlexey Dobriyan1-1/+0
2008-10-10af_key: fix SADB_X_SPDDELETE responseTobias Brunner1-0/+1
2008-10-05xfrm: MIGRATE enhancements (draft-ebalard-mext-pfkey-enhanced-migrate)Arnaud Ebalard1-17/+69
2008-10-01ipsec: Put dumpers on the dump listHerbert Xu1-5/+33
2008-10-01af_key: Free dumping state on socket closeTimo Teras1-11/+19
2008-07-25net: convert BUG_TRAP to generic WARN_ONIlpo Järvinen1-2/+2
2008-06-13Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-0/+3
2008-06-12key: Use xfrm_addr_cmp() where appropriate.YOSHIFUJI Hideaki1-8/+1
2008-06-12key: Share common code path to extract address from sockaddr{}.YOSHIFUJI Hideaki1-69/+38
2008-06-12key: Share common code path to fill sockaddr{}.YOSHIFUJI Hideaki1-347/+111
2008-06-12key: Introduce pfkey_sockaddr_len() for raw sockaddr{} length.YOSHIFUJI Hideaki1-31/+19
2008-06-10ipsec: pfkey should ignore events when no listenersJamal Hadi Salim1-0/+3
2008-05-21af_key: Fix selector family initialization.Kazunori MIYAZAWA1-1/+1
2008-04-28Audit: collect sessionid in netlink messagesEric Paris1-5/+12
2008-04-24af_key: Fix af_key.c compiler warningBrian Haley1-3/+2
2008-04-22[IPSEC]: Fix catch-22 with algorithm IDs above 31Herbert Xu1-1/+1
2008-04-12LSM: Make the Labeled IPsec hooks more stack friendlyPaul Moore1-12/+11
2008-03-27Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/...David S. Miller1-1/+1
2008-03-24[IPSEC]: Fix inter address family IPsec tunnel handling.Kazunori MIYAZAWA1-1/+1
2008-03-03[AF_KEY]: Dump SA/SP entries non-atomicallyTimo Teras1-29/+91