aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm
AgeCommit message (Expand)AuthorFilesLines
2024-03-18xfrm: Allow UDP encapsulation only in offload modesLeon Romanovsky1-1/+2
2024-03-08Merge tag 'ipsec-next-2024-03-06' of git://git.kernel.org/pub/scm/linux/kerne...David S. Miller2-14/+143
2024-03-07net: move netdev_max_backlog to net_hotdataEric Dumazet2-2/+5
2024-03-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-4/+13
2024-03-06Merge tag 'ipsec-2024-03-06' of git://git.kernel.org/pub/scm/linux/kernel/git...Jakub Kicinski4-4/+13
2024-03-05xfrm: set skb control buffer based on packet offload as wellMike Yu1-1/+5
2024-03-05xfrm: fix xfrm child route lookup for packet offloadMike Yu1-1/+3
2024-03-02Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski2-4/+4
2024-02-27xfrm: Do not allocate stats in the driverBreno Leitao1-8/+2
2024-02-26rtnetlink: prepare nla_put_iflink() to run under RCUEric Dumazet1-1/+1
2024-02-26xfrm: Avoid clang fortify warning in copy_to_user_tmpl()Nathan Chancellor1-0/+3
2024-02-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-0/+2
2024-02-09net: fill in MODULE_DESCRIPTION()s for xfrmBreno Leitao2-0/+2
2024-02-09xfrm: Simplify the allocation of slab caches in xfrm_policy_initKunwu Chan1-4/+1
2024-02-07xfrm: interface: use exit_batch_rtnl() methodEric Dumazet1-8/+6
2024-02-05xfrm: get global statistics from the offloaded deviceLeon Romanovsky2-0/+14
2024-02-05xfrm: generalize xdo_dev_state_update_curlft to allow statistics updateLeon Romanovsky2-3/+3
2024-01-31bpf: treewide: Annotate BPF kfuncs in BTFDaniel Xu2-4/+4
2024-01-25xfrm: Pass UDP encapsulation in TX packet offloadLeon Romanovsky1-1/+1
2024-01-25xfrm: introduce forwarding of ICMP Error messagesAntony Antony1-2/+140
2024-01-17xfrm: Clear low order bits of ->flowi4_tos in decode_session4().Guillaume Nault1-1/+1
2023-12-14bpf: xfrm: Add bpf_xdp_get_xfrm_state() kfuncDaniel Xu3-0/+137
2023-11-09Merge tag 'net-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-4/+2
2023-11-02Merge tag 'v6.7-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds2-12/+8
2023-11-01bpf: Add __bpf_kfunc_{start,end}_defs macrosDave Marchevsky1-4/+2
2023-10-30Merge tag 'ipsec-next-2023-10-28' of git://git.kernel.org/pub/scm/linux/kerne...Jakub Kicinski3-180/+129
2023-10-27xfrm: policy: fix layer 4 flowi decodingFlorian Westphal1-6/+20
2023-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-23/+26
2023-10-17Merge tag 'ipsec-2023-10-17' of git://git.kernel.org/pub/scm/linux/kernel/git...Jakub Kicinski2-23/+26
2023-10-13xfrm: fix a data-race in xfrm_lookup_with_ifid()Eric Dumazet1-1/+1
2023-10-06xfrm: policy: replace session decode with flow dissectorFlorian Westphal1-158/+95
2023-10-06xfrm: move mark and oif flowi decode into common codeFlorian Westphal1-12/+12
2023-10-06xfrm: pass struct net to xfrm_decode_session wrappersFlorian Westphal2-7/+7
2023-10-06xfrm: Use the XFRM_GRO to indicate a GRO call on inputSteffen Klassert1-4/+2
2023-10-01ipsec: Select CRYPTO_AEADHerbert Xu1-0/+1
2023-09-20ipsec: Stop using crypto_has_algHerbert Xu1-12/+7
2023-09-13xfrm: fix a data-race in xfrm_gen_index()Eric Dumazet1-4/+2
2023-09-12net: dst: remove unnecessary input parameter in dst_alloc and dst_initZhengchao Shao1-1/+1
2023-09-06xfrm: interface: use DEV_STATS_INC()Eric Dumazet1-12/+10
2023-09-05net: xfrm: skip policies marked as dead while reinserting policiesDong Chenchen1-6/+13
2023-08-29Merge tag 'sysctl-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-2/+6
2023-08-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski5-24/+27
2023-08-16Merge tag 'ipsec-2023-08-15' of git://git.kernel.org/pub/scm/linux/kernel/git...David S. Miller5-24/+27
2023-08-15networking: Update to register_net_sysctl_szJoel Granados1-2/+6
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-08-01xfrm: don't skip free of empty state in acquire policyLeon Romanovsky1-6/+2
2023-08-01xfrm: delete offloaded policyLeon Romanovsky1-0/+1
2023-07-31xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESHLin Ma1-0/+1
2023-07-31xfrm: add NULL check in xfrm_update_ae_paramsLin Ma1-1/+1
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-1/+1
2023-07-25xfrm: Support UDP encapsulation in packet offload modeLeon Romanovsky1-6/+7
2023-07-11xfrm: fix slab-use-after-free in decode_session6Zhengchao Shao1-2/+2
2023-07-10xfrm: Silence warnings triggerable by bad packetsHerbert Xu1-13/+9
2023-07-03net: xfrm: Amend XFRMA_SEC_CTX nla_policy structureLin Ma2-2/+2
2023-06-29net: xfrm: Fix xfrm_address_filter OOB readLin Ma1-0/+9
2023-06-24tcp_bpf, smc, tls, espintcp, siw: Reduce MSG_SENDPAGE_NOTLAST usageDavid Howells1-4/+6
2023-06-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-8/+68
2023-06-12xfrm: Use xfrm_state selector for BEET inputHerbert Xu1-4/+3
2023-06-10net: move gso declarations and functions to their own filesEric Dumazet3-0/+3
2023-06-07xfrm: add missed call to delete offloaded policiesLeon Romanovsky1-0/+2
2023-05-23espintcp: Inline do_tcp_sendpages()David Howells1-3/+7
2023-05-21xfrm: Ensure policies always checked on XFRM-I input pathBenedict Wong1-4/+50
2023-05-21xfrm: Treat already-verified secpath entries as optionalBenedict Wong2-0/+13
2023-05-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-70/+21
2023-05-16Merge tag 'ipsec-2023-05-16' of git://git.kernel.org/pub/scm/linux/kernel/git...Jakub Kicinski4-70/+21
2023-05-13net: introduce and use skb_frag_fill_page_desc()Yunsheng Lin1-4/+1
2023-05-10xfrm: Check if_id in inbound policy/secpath matchBenedict Wong1-5/+6
2023-05-10xfrm: Reject optional tunnel/BEET mode templates in outbound policiesTobias Brunner1-5/+9
2023-04-25Revert "Fix XFRM-I support for nested ESP tunnels"Martin Willi2-53/+4
2023-04-21xfrm: Fix leak of dev trackerLeon Romanovsky1-1/+1
2023-04-21xfrm: release all offloaded policy memoryLeon Romanovsky1-0/+1
2023-04-19Merge tag 'ipsec-next-2023-04-19' of git://git.kernel.org/pub/scm/linux/kerne...Jakub Kicinski2-65/+34
2023-04-07Merge tag 'ipsec-esn-replay' of https://git.kernel.org/pub/scm/linux/kernel/g...Jakub Kicinski1-1/+1
2023-04-06xfrm: don't check the default policy if the policy allows the packetSabrina Dubroca1-6/+0
2023-04-06xfrm: don't require advance ESN callback for packet offloadLeon Romanovsky1-1/+1
2023-03-22Merge tag 'ipsec-libreswan-mlx5' of https://git.kernel.org/pub/scm/linux/kern...Jakub Kicinski2-0/+3
2023-03-20xfrm: copy_to_user_state fetch offloaded SA packets/bytes statisticsRaed Salem1-0/+2
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 Kicinski2-9/+41
2023-03-13xfrm: Remove inner/outer modes from output pathHerbert Xu1-22/+11
2023-03-13xfrm: Remove inner/outer modes from input pathHerbert Xu1-43/+23
2023-02-24xfrm: Allow transport-mode states with AF_UNSPEC selectorHerbert Xu1-5/+0
2023-02-13xfrm: Zero padding when dumping algos and encapHerbert Xu1-4/+41
2023-02-10Daniel Borkmann says:Jakub Kicinski1-5/+2
2023-02-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski5-20/+73
2023-02-01netlink: provide an ability to set default extack messageLeon Romanovsky1-1/+4
2023-02-02bpf: Add __bpf_kfunc tag to all kfuncsDavid Vernet1-5/+2
2023-01-30xfrm: fix bug with DSCP copy to v6 from v4 tunnelChristian Hopps1-2/+1
2023-01-27xfrm: annotate data-race around use_timeEric Dumazet2-9/+12
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 Romanovsky2-5/+3
2023-01-26xfrm: extend add policy callback to set failure reasonLeon Romanovsky1-2/+1
2023-01-23net/sock: Introduce trace_sk_data_ready()Peilin Ye1-0/+3
2023-01-23xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()Eric Dumazet1-0/+2
2023-01-12xfrm: compat: change expression for switch in xfrm_xlate64Anastasia Belova1-1/+1
2023-01-09Fix XFRM-I support for nested ESP tunnelsBenedict Wong2-4/+53
2022-12-19Treewide: Stop corrupting socket's task_fragBenjamin Coddington1-0/+1
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