aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm
AgeCommit message (Expand)AuthorFilesLines
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds9-73/+627
2022-12-12Merge tag 'pull-iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-1/+1
2022-12-12Merge tag 'random-6.2-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2022-12-12Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski3-0/+137
2022-12-09xfrm: Fix spelling mistake "oflload" -> "offload"Colin Ian King1-1/+1
2022-12-05xfrm: interface: Add unstable helpers for setting/getting XFRM metadata from ...Eyal Birger3-0/+135
2022-12-05xfrm: interface: rename xfrm_interface.c to xfrm_interface_core.cEyal Birger2-0/+2
2022-12-05xfrm: add support to HW update soft and hard limitsLeon Romanovsky1-0/+4
2022-12-05xfrm: speed-up lookup of HW policiesLeon Romanovsky2-20/+62
2022-12-05xfrm: add TX datapath support for IPsec packet offload modeLeon Romanovsky3-6/+142
2022-12-05xfrm: add an interface to offload policyLeon Romanovsky3-1/+153
2022-12-05xfrm: allow state packet offload modeLeon Romanovsky1-5/+19
2022-12-05xfrm: add new packet offload flagLeon Romanovsky2-0/+5
2022-11-29Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...Jakub Kicinski5-41/+105
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-1/+1
2022-11-25xfrm: add extack to xfrm_set_spdinfoSabrina Dubroca1-4/+12
2022-11-25xfrm: add extack to xfrm_alloc_userspiSabrina Dubroca2-8/+21
2022-11-25xfrm: add extack to xfrm_do_migrateSabrina Dubroca2-13/+31
2022-11-25xfrm: add extack to xfrm_new_ae and xfrm_replay_verify_lenSabrina Dubroca1-9/+28
2022-11-25xfrm: add extack to xfrm_del_saSabrina Dubroca1-1/+1
2022-11-25xfrm: add extack to xfrm_add_sa_expireSabrina Dubroca1-1/+4
2022-11-25xfrm: a few coding style clean upsSabrina Dubroca2-6/+9
2022-11-23Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...Jakub Kicinski2-2/+15
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-25xfrm: Remove not-used total variableLeon Romanovsky1-2/+2
2022-10-25xfrm: update x->lastused for every packetAntony Antony2-2/+2
2022-10-19xfrm: replay: Fix ESN wrap around for GSOChristian Langrock2-2/+15
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-1/+1
2022-10-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-5/+14
2022-10-03Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller8-175/+503
2022-09-30net-next: skbuff: refactor pskb_pullRichard Gobert1-1/+1
2022-09-29xfrm: ipcomp: add extack to ipcomp{4,6}_init_stateSabrina Dubroca1-3/+7
2022-09-29xfrm: pass extack down to xfrm_type ->init_stateSabrina Dubroca1-1/+1
2022-09-28xfrm: Reinject transport-mode packets through workqueueLiu Jian1-5/+13
2022-09-22xfrm: add extack support to xfrm_init_replaySabrina Dubroca3-5/+9
2022-09-22xfrm: add extack to __xfrm_init_stateSabrina Dubroca2-8/+20
2022-09-22xfrm: add extack to attach_*Sabrina Dubroca1-16/+30
2022-09-22xfrm: add extack support to xfrm_dev_state_addSabrina Dubroca2-8/+20
2022-09-22xfrm: add extack to verify_one_alg, verify_auth_trunc, verify_aeadSabrina Dubroca1-11/+20
2022-09-22xfrm: add extack to verify_replaySabrina Dubroca1-8/+22
2022-09-22xfrm: add extack support to verify_newsa_infoSabrina Dubroca1-21/+69
2022-09-01xfrm: Update ipcomp_scratches with NULL when freedKhalid Masum1-0/+1
2022-08-31xfrm: add extack to verify_sec_ctx_lenSabrina Dubroca1-7/+9
2022-08-31xfrm: add extack to validate_tmplSabrina Dubroca1-9/+20
2022-08-31xfrm: add extack to verify_policy_typeSabrina Dubroca1-11/+17
2022-08-31xfrm: add extack to verify_policy_dirSabrina Dubroca1-4/+5
2022-08-31xfrm: add extack support to verify_newpolicy_infoSabrina Dubroca1-7/+18
2022-08-31xfrm: propagate extack to all netlink doit handlersSabrina Dubroca1-22/+34
2022-08-29xfrm: lwtunnel: add lwtunnel support for xfrm interfaces in collect_md modeEyal Birger1-0/+85
2022-08-29xfrm: interface: support collect metadata modeEyal Birger3-27/+111
2022-08-24net: Fix data-races around netdev_max_backlog.Kuniyuki Iwashima2-2/+2
2022-08-24Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller4-3/+3
2022-08-23xfrm: Drop unused argumentHongbin Wang1-8/+7
2022-08-17xfrm: policy: fix metadata dst->dev xmit null pointer dereferenceNikolay Aleksandrov1-1/+1
2022-08-03xfrm: clone missing x->lastused in xfrm_do_migrateAntony Antony1-0/+1
2022-08-03Revert "xfrm: update SA curlft.use_time"Antony Antony2-2/+0
2022-07-26xfrm: fix refcount leak in __xfrm_policy_check()Xin Xiong1-0/+1
2022-07-25Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller2-8/+4
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-2/+5
2022-07-20Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-1/+4
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 Shao2-8/+4
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-1/+1
2022-06-02xfrm: xfrm_policy: fix a possible double xfrm_pols_put() in xfrm_bundle_lookup()Hangyu Hua1-1/+4
2022-06-01Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...Jakub Kicinski1-1/+2
2022-05-25xfrm: do not set IPv4 DF flag when encapsulating IPv6 frames <= 1280 bytes.Maciej Żenczykowski1-1/+2
2022-05-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-05-17xfrm: set dst dev to blackhole_netdev instead of loopback_dev in ifdownXin Long1-1/+1
2022-05-06xfrm: drop not needed flags variable in XFRM offload structLeon Romanovsky1-3/+0
2022-05-06xfrm: store and rely on direction to construct offload flagsLeon Romanovsky2-2/+9
2022-05-06xfrm: rename xfrm_state_offload struct to allow reuseLeon Romanovsky3-4/+4
2022-05-06xfrm: delete not used number of external headersLeon Romanovsky1-2/+0
2022-04-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-1/+3
2022-04-12net: remove noblock parameter from recvmsg() entitiesOliver Hartkopp1-3/+1
2022-04-04xfrm: Pass flowi_oif or l3mdev as oif to xfrm_dst_lookupDavid Ahern1-1/+3
2022-03-19Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/David S. Miller3-40/+27
2022-03-18xfrm: rework default policy structureNicolas Dichtel2-28/+25
2022-03-11net: add per-cpu storage and net->core_statsEric Dumazet1-1/+1
2022-03-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-19/+7
2022-03-06Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"Kai Lueke1-18/+3
2022-03-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski5-25/+32
2022-03-03net: Add skb_clear_tstamp() to keep the mono delivery_timeMartin KaFai Lau1-1/+1
2022-03-01xfrm: fix tunnel model fragmentation behaviorLina Wang1-1/+4
2022-02-09xfrm: enforce validity of offload input flagsLeon Romanovsky1-1/+5
2022-02-03xfrm: fix the if_id check in changelinkAntony Antony1-1/+1
2022-02-02xfrm: delete duplicated functions that calls same xfrm_api_check()Leon Romanovsky1-12/+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 Yan3-8/+19
2022-01-11xfrm: Don't accidentally set RTO_ONLINK in decode_session4()Guillaume Nault1-1/+2
2022-01-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-11/+77
2022-01-06Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller7-6/+87
2022-01-05net/xfrm: IPsec tunnel mode fix inner_ipproto setting in sec_pathRaed Salem1-5/+25
2021-12-29net: Don't include filter.h from net/sock.hJakub Kicinski2-0/+2
2021-12-23xfrm: rate limit SA mapping change message to user spaceAntony Antony3-4/+43
2021-12-23xfrm: Add support for SM4 symmetric cipher algorithmXu Jia1-0/+21
2021-12-23xfrm: Add support for SM3 secure hashXu Jia1-0/+20
2021-12-23xfrm: update SA curlft.use_timeAntony Antony2-0/+2
2021-12-17xfrm: state and policy should fail if XFRMA_IF_ID 0Antony Antony1-3/+18
2021-12-17xfrm: interface with if_id 0 should return errorAntony Antony1-2/+12
2021-12-10xfrm: add net device refcount tracker to struct xfrm_state_offloadEric Dumazet1-1/+2
2021-12-09xfrm: fix a small bug in xfrm_sa_len()Eric Dumazet1-1/+1
2021-12-01net: xfrm: drop check of pols[0] for the second timeJean Sacren1-1/+1
2021-11-23xfrm: fix policy lookup for ipv6 gre packetsGhalem Boudour1-0/+21
2021-11-18xfrm: Remove duplicate assignmentluo penghao1-1/+0
2021-11-02Merge tag 'net-next-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+2
2021-11-01Merge tag 'overflow-v5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-4/+2
2021-11-01Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-2/+2
2021-10-28xfrm: Remove redundant fields and related parenthesesluo penghao1-2/+2
2021-10-18xfrm: Use memset_after() to clear paddingKees Cook2-4/+2
2021-09-23xfrm: fix rcu lock in xfrm_notify_userpolicy()Nicolas Dichtel1-1/+6
2021-09-15xfrm: notify default policy on updateNicolas Dichtel1-0/+31
2021-09-15xfrm: make user policy API completeNicolas Dichtel1-17/+19
2021-09-09net: xfrm: fix shift-out-of-bounds in xfrm_get_defaultPavel Skripkin1-0/+5
2021-08-27Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/David S. Miller2-0/+73
2021-08-04Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller4-26/+67
2021-07-29net: xfrm: fix shift-out-of-bouncePavel Skripkin1-1/+6
2021-07-26net: xfrm: Fix end of loop tests for list_for_each_entryHarshvardhan Jha1-1/+1
2021-07-21net/xfrm/compat: Copy xfrm_spdattr_type_t atributesDmitry Safonov1-5/+44
2021-07-21xfrm: Add possibility to set the default to block if we have no policySteffen Klassert2-0/+68
2021-07-02xfrm: Fix RCU vs hash_resize_mutex lock inversionFrederic Weisbecker1-9/+8
2021-07-02Revert "xfrm: policy: Read seqcount outside of rcu-read side in xfrm_policy_l...Steffen Klassert1-14/+7
2021-06-30Merge tag 'net-next-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds8-119/+329
2021-06-30Merge tag 'selinux-pr-20210629' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-4/+2
2021-06-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski5-30/+41
2021-06-29net: xfrm: fix memory leak in xfrm_user_rcv_msgPavel Skripkin1-0/+10
2021-06-28Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gitDavid S. Miller6-88/+248
2021-06-23Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller5-30/+41
2021-06-22net/xfrm: Add inner_ipproto into sec_pathHuy Nguyen1-1/+40
2021-06-22xfrm: Fix xfrm offload fallback fail caseAyush Sawal1-0/+1
2021-06-21xfrm: replay: remove last replay indirectionFlorian Westphal2-26/+27
2021-06-21xfrm: replay: avoid replay indirectionFlorian Westphal2-10/+19
2021-06-21xfrm: replay: remove recheck indirectionFlorian Westphal2-7/+17
2021-06-21xfrm: replay: remove advance indirectionFlorian Westphal2-10/+16
2021-06-21xfrm: replay: avoid xfrm replay notify indirectionFlorian Westphal2-18/+29
2021-06-16xfrm: avoid compiler warning when ipv6 is disabledFlorian Westphal1-0/+2
2021-06-14xfrm: Fix error reporting in xfrm_state_construct.Steffen Klassert1-14/+14
2021-06-11xfrm: merge dstopt and routing hdroff functionsFlorian Westphal1-58/+22
2021-06-11xfrm: remove hdr_offset indirectionFlorian Westphal1-1/+1
2021-06-11xfrm: ipv6: move mip6_rthdr_offset into xfrm coreFlorian Westphal1-0/+49
2021-06-11xfrm: ipv6: move mip6_destopt_offset into xfrm coreFlorian Westphal1-0/+57
2021-06-11xfrm: ipv6: add xfrm6_hdr_offset helperFlorian Westphal1-2/+7
2021-06-11xfrm: policy: fix a spelling mistakegushengxian1-1/+1
2021-06-01xfrm: remove the fragment check for ipv6 beet modeXin Long1-7/+0
2021-06-01xfrm: policy: Read seqcount outside of rcu-read side in xfrm_policy_lookup_by...Varad Gautam1-7/+14
2021-05-17xfrm: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2021-05-14xfrm: add state hashtable keyed by seqSabrina Dubroca2-13/+59
2021-05-10selinux: delete selinux_xfrm_policy_lookup() useless argumentZhongjun Tan1-4/+2
2021-04-19xfrm: ipcomp: remove unnecessary get_cpu()Sabrina Dubroca1-17/+8
2021-04-19xfrm: xfrm_state_mtu should return at least 1280 for ipv6Sabrina Dubroca1-2/+12
2021-04-19xfrm: avoid synchronize_rcu during netns destructionFlorian Westphal1-3/+7
2021-04-19xfrm: remove stray synchronize_rcu from xfrm_initFlorian Westphal1-3/+0
2021-04-19flow: remove spi key from flowi structFlorian Westphal1-39/+0
2021-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski5-15/+36
2021-03-30xfrm/compat: Cleanup WARN()s that can be user-triggeredDmitry Safonov1-3/+9
2021-03-29xfrm: Provide private skb extensions for segmented and hw offloaded ESP packetsSteffen Klassert1-2/+0
2021-03-28xfrm_user.c: Added a punctuationBhaskar Chowdhury1-1/+1
2021-03-28xfrm_policy.c : Mundane typo fixBhaskar Chowdhury1-1/+1
2021-03-24xfrm: BEET mode doesn't support fragments for inner packetsXin Long1-0/+13
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
2021-03-03xfrm: Use actual socket sk instead of skb socket for xfrm_output_resumeEvan Nimmo1-5/+5
2021-02-23xfrm: interface: fix ipv4 pmtu check to honor ip header dfEyal Birger1-0/+3
2021-02-09Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller2-2/+10
2021-02-04xfrm: Return the correct errno codeZheng Yongjun1-1/+1
2021-01-21Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...Jakub Kicinski2-11/+21
2021-01-08xfrm: interface: enable TSO on xfrm interfacesEyal Birger1-1/+9
2021-01-04xfrm: Fix wraparound in xfrm_policy_addr_delta()Visa Hankala1-8/+18
2021-01-04xfrm: fix disable_xfrm sysctl when used on xfrm interfacesEyal Birger1-2/+2
2020-12-19xfrm: Fix oops in xfrm_replay_advance_bmpShmulik Ladkani1-1/+1
2020-12-16Merge tag 'selinux-pr-20201214' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+4
2020-12-12Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...Jakub Kicinski1-7/+67
2020-12-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-3/+6
2020-11-27xfrm: redact SA secret with lockdown confidentialityAntony Antony1-7/+67
2020-11-23lsm,selinux: pass flowi_common instead of flowi to the LSM hooksPaul Moore1-2/+4
2020-11-14net: xfrm: use core API for updating/providing statsLev Stipakov1-17/+2
2020-11-10net: xfrm: fix memory leak in xfrm_user_policy()Yu Kuai1-1/+3
2020-11-09xfrm/compat: Don't allocate memory with __GFP_ZERODmitry Safonov1-1/+1
2020-11-09xfrm/compat: memset(0) 64-bit padding at right placeDmitry Safonov1-1/+1
2020-11-09xfrm/compat: Translate by copying XFRMA_UNSPEC attributeDmitry Safonov1-0/+1
2020-11-07net: xfrm: convert tasklets to use new tasklet_setup() APIAllen Pais1-4/+3
2020-11-04Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...Jakub Kicinski2-7/+9
2020-10-23net: xfrm: fix a race condition during allocing spizhuoliang zhang1-3/+5
2020-10-13xfrm: use new function dev_fetch_sw_netstatsHeiner Kallweit1-21/+1
2020-10-09xfrm: interface: fix the priorities for ipip and ipv6 tunnelsXin Long1-4/+4
2020-10-06xfrm: use dev_sw_netstats_rx_add()Fabian Frederick1-8/+1
2020-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller3-7/+43
2020-09-28Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller3-7/+43
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 Safonov2-3/+40
2020-09-24xfrm/compat: Add 32=>64-bit messages translatorDmitry Safonov3-19/+315
2020-09-24xfrm/compat: Attach xfrm dumps to 64=>32 bit translatorDmitry Safonov1-0/+38
2020-09-24xfrm/compat: Add 64=>32-bit messages translatorDmitry Safonov2-1/+310
2020-09-24xfrm: Provide API to register translator moduleDmitry Safonov4-0/+100
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-08-27xfrmi: drop ignore_df check before updating pmtuSabrina Dubroca1-1/+1
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1