aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/macsec.c
AgeCommit message (Expand)AuthorFilesLines
2025-09-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2025-09-09macsec: sync features on RTM_NEWLINKStanislav Fomichev1-0/+1
2025-09-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+4
2025-09-01macsec: read MACSEC_SA_ATTR_PN with nla_get_uintSabrina Dubroca1-4/+4
2025-08-27macsec: replace custom check on IFLA_MACSEC_ENCODING_SA with NLA_POLICY_MAXSabrina Dubroca1-6/+1
2025-08-27macsec: replace custom checks for IFLA_MACSEC_* flags with NLA_POLICY_MAXSabrina Dubroca1-16/+6
2025-08-27macsec: validate IFLA_MACSEC_VALIDATION with NLA_POLICY_MAXSabrina Dubroca1-5/+1
2025-08-27macsec: use NLA_POLICY_VALIDATE_FN to validate IFLA_MACSEC_CIPHER_SUITESabrina Dubroca1-16/+18
2025-08-27macsec: replace custom checks on IFLA_MACSEC_ICV_LEN with NLA_POLICY_RANGESabrina Dubroca1-4/+1
2025-08-27macsec: add NLA_POLICY_MAX for MACSEC_OFFLOAD_ATTR_TYPE and IFLA_MACSEC_OFFLOADSabrina Dubroca1-2/+2
2025-08-27macsec: remove validate_add_rxscSabrina Dubroca1-10/+2
2025-08-27macsec: use NLA_UINT for MACSEC_SA_ATTR_PNSabrina Dubroca1-11/+1
2025-08-27macsec: use NLA_POLICY_MAX_LEN for MACSEC_SA_ATTR_KEYSabrina Dubroca1-2/+1
2025-08-27macsec: replace custom checks on MACSEC_SA_ATTR_KEYID with NLA_POLICY_EXACT_LENSabrina Dubroca1-8/+1
2025-08-27macsec: replace custom checks on MACSEC_SA_ATTR_SALT with NLA_POLICY_EXACT_LENSabrina Dubroca1-18/+1
2025-08-27macsec: replace custom checks on MACSEC_*_ATTR_ACTIVE with NLA_POLICY_MAXSabrina Dubroca1-23/+2
2025-08-27macsec: replace custom checks on MACSEC_SA_ATTR_AN with NLA_POLICY_MAXSabrina Dubroca1-14/+1
2025-07-25macsec: set IFF_UNICAST_FLT priv flagStanislav Fomichev1-1/+1
2025-06-11macsec: MACsec SCI assignment for ES = 0Carlos Fernandez1-6/+34
2025-03-08net: move misc netdev_lock flavors to a separate headerJakub Kicinski1-0/+1
2025-02-21net: Use link/peer netns in newlink() of rtnl_link_opsXiao Liang1-2/+2
2025-02-21rtnetlink: Pack newlink() params into structXiao Liang1-2/+5
2024-11-11macsec: inherit lower device's TSO limits when offloadingSabrina Dubroca1-0/+22
2024-11-11macsec: clean up local variables in macsec_notifySabrina Dubroca1-18/+7
2024-11-11macsec: add some of the lower device's features when offloadingSabrina Dubroca1-2/+15
2024-11-11net: convert to nla_get_*_default()Johannes Berg1-3/+3
2024-10-28macsec: Fix use-after-free while sending the offloading packetJianbo Liu1-2/+1
2024-10-15macsec: don't increment counters for an unrelated SASabrina Dubroca1-18/+0
2024-09-03netdev_features: convert NETIF_F_LLTX to dev->lltxAlexander Lobakin1-2/+2
2024-05-07net: annotate writes on dev->mtu from ndo_change_mtu()Eric Dumazet1-1/+1
2024-04-25macsec: Detect if Rx skb is macsec-related for offloading devices that update...Rahul Rameshbabu1-10/+36
2024-03-06net: macsec: Leverage core stats allocatorBreno Leitao1-8/+2
2024-02-26rtnetlink: prepare nla_put_iflink() to run under RCUEric Dumazet1-1/+1
2024-01-23Revert "net: macsec: use skb_ensure_writable_head_tail to expand the skb"Rahul Rameshbabu1-5/+20
2023-12-27net: macsec: introduce mdo_insert_tx_tagRadu Pirea (NXP OSS)1-5/+83
2023-12-27net: macsec: revert the MAC address if mdo_upd_secy failsRadu Pirea (NXP OSS)1-12/+26
2023-12-27net: macsec: use skb_ensure_writable_head_tail to expand the skbRadu Pirea (NXP OSS)1-20/+5
2023-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2023-10-10net: macsec: indicate next pn update when offloadingRadu Pirea (NXP OSS)1-0/+2
2023-10-01net: add DEV_STATS_READ() helperEric Dumazet1-3/+3
2023-09-05Revert "net: macsec: preserve ingress frame ordering"Sabrina Dubroca1-2/+1
2023-08-24Merge branch 'mlx5-next' of https://git.kernel.org/pub/scm/linux/kernel/git/m...Jakub Kicinski1-0/+12
2023-08-20macsec: add functions to get macsec real netdevice and check offloadPatrisious Haddad1-0/+12
2023-08-14net: macsec: Use helper functions to update statsLi Zetao1-14/+3
2023-08-06macsec: use DEV_STATS_INC()Eric Dumazet1-14/+14
2023-06-15net: macsec: fix double free of percpu statsFedor Pchelkin1-7/+5
2023-04-21macsec: Don't rely solely on the dst MAC address to identify destination MACs...Emeel Hakim1-2/+12
2023-02-21Merge tag 'net-next-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-56/+69
2023-02-13net: macsec: Remove completion function scaffoldingHerbert Xu1-4/+4
2023-02-13net: macsec: Add scaffolding to change completion function signatureHerbert Xu1-4/+4
2023-01-12macsec: dump IFLA_MACSEC_OFFLOAD attribute as part of macsec dumpEmeel Hakim1-2/+9
2023-01-12macsec: add support for IFLA_MACSEC_OFFLOAD in macsec_changelinkEmeel Hakim1-54/+60
2022-12-13net: macsec: fix net device access prior to holding a lockEmeel Hakim1-13/+21
2022-12-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-12-08macsec: add missing attribute validation for offloadEmeel Hakim1-0/+1
2022-11-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+0
2022-11-18macsec: Fix invalid error code setYueHaibing1-1/+0
2022-11-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-33/+17
2022-11-04macsec: clear encryption keys from the stack after setting up offloadSabrina Dubroca1-0/+2
2022-11-04macsec: fix detection of RXSCs when toggling offloadingSabrina Dubroca1-1/+1
2022-11-04macsec: fix secy->n_rx_sc accountingSabrina Dubroca1-6/+8
2022-11-04macsec: delete new rxsc when offload failsSabrina Dubroca1-3/+2
2022-11-04Revert "net: macsec: report real_dev features when HW offloading is enabled"Sabrina Dubroca1-23/+4
2022-10-28net: Remove the obsolte u64_stats_fetch_*_irq() users (drivers).Thomas Gleixner1-6/+6
2022-09-26macsec: don't free NULL metadata_dstSabrina Dubroca1-1/+2
2022-09-23net: macsec: remove the prepare flag from the MACsec offloading contextAntoine Tenart1-1/+0
2022-09-23net: macsec: remove the prepare phase when offloadingAntoine Tenart1-13/+0
2022-09-22net: macsec: Expose extended packet number (EPN) properties to macsec offloadEmeel Hakim1-12/+12
2022-09-07net/macsec: Move some code for sharing with various drivers that implements o...Lior Nahmanson1-27/+6
2022-09-07net/macsec: Add MACsec skb_metadata_dst Rx Data path supportLior Nahmanson1-0/+6
2022-09-07net/macsec: Add MACsec skb_metadata_dst Tx Data path supportLior Nahmanson1-0/+15
2022-08-29genetlink: start to validate reserved header bytesJakub Kicinski1-0/+1
2022-08-19Revert "net: macsec: update SCI upon MAC address change."Sabrina Dubroca1-6/+5
2022-08-10macsec: Fix traffic counters/statisticsClayton Yager1-9/+49
2022-07-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-12/+21
2022-07-25net: macsec: fix potential resource leak in macsec_add_rxsa() and macsec_add_...Jianglei Nie1-2/+2
2022-07-25macsec: always read MACSEC_SA_ATTR_PN as a u64Sabrina Dubroca1-3/+3
2022-07-25macsec: limit replay window size with XPNSabrina Dubroca1-4/+12
2022-07-25macsec: fix error message in macsec_add_rxsa and _txsaSabrina Dubroca1-2/+2
2022-07-25macsec: fix NULL deref in macsec_add_rxsaSabrina Dubroca1-1/+2
2022-06-09net: adopt u64_stats_t in struct pcpu_sw_netstatsEric Dumazet1-4/+4
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-2/+2
2022-06-01macsec: fix UAF bug for real_devZiyang Xuan1-0/+7
2022-02-14net: dev: Makes sure netif_rx() can be invoked in any context.Sebastian Andrzej Siewior1-3/+3
2022-02-01net: macsec: Verify that send_sci is on when setting Tx sci explicitlyLior Nahmanson1-0/+9
2022-01-31net: macsec: Fix offload support for NETDEV_UNREGISTER eventLior Nahmanson1-12/+12
2021-10-24net: drivers: get ready for const netdev->dev_addrJakub Kicinski1-1/+1
2021-10-02net: use eth_hw_addr_set() instead of ether_addr_copy()Jakub Kicinski1-1/+1
2021-06-24net: macsec: fix the length used to copy the key for offloadingAntoine Tenart1-2/+2
2020-11-03net: macsec: Add missing documentation for 'gro_cells'Lee Jones1-0/+1
2020-10-13net: macsec: use new function dev_fetch_sw_netstatsHeiner Kallweit1-21/+1
2020-10-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+3
2020-10-08macsec: avoid use-after-free in macsec_handle_frame()Eric Dumazet1-1/+3
2020-10-02genetlink: move to smaller ops wherever possibleJakub Kicinski1-3/+3
2020-08-18netlink: consistently use NLA_POLICY_MIN_LEN()Johannes Berg1-1/+1
2020-06-28net: get rid of lockdep_set_class_and_subclass()Cong Wang1-3/+2
2020-06-09net: change addr_list_lock back to static keyCong Wang1-0/+5
2020-05-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+4
2020-05-06net: macsec: fix rtnl locking issueAntoine Tenart1-1/+2
2020-05-04net: partially revert dynamic lockdep key changesCong Wang1-0/+2
2020-04-30net: macsec: preserve ingress frame orderingScott Dial1-1/+2
2020-04-24macsec: avoid to set wrong mtuTaehee Yoo1-4/+8
2020-04-09net: macsec: fix using wrong structure in macsec_changelink()Taehee Yoo1-1/+1
2020-04-06macsec: fix NULL dereference in macsec_upd_offload()Davide Caratti1-0/+3
2020-03-29net: macsec: add support for specifying offload upon link creationMark Starovoytov1-2/+29
2020-03-26net: macsec: report real_dev features when HW offloading is enabledMark Starovoytov1-4/+22
2020-03-26net: macsec: add support for getting offloaded statsDmitry Bogdanov1-108/+213
2020-03-26net: macsec: support multicast/broadcast when offloadingMark Starovoytov1-13/+38
2020-03-26net: macsec: allow multiple macsec devices with offloadDmitry Bogdanov1-24/+1
2020-03-26net: macsec: init secy pointer in macsec_contextDmitry Bogdanov1-1/+15
2020-03-26net: macsec: add support for offloading to the MACAntoine Tenart1-2/+11
2020-03-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+3
2020-03-23macsec: restrict to ethernet devicesWillem de Bruijn1-0/+3
2020-03-16macsec: Netlink support of XPN cipher suites (IEEE 802.1AEbw)Era Mayflower1-13/+148
2020-03-16macsec: Support XPN frame handling - IEEE 802.1AEbwEra Mayflower1-36/+94
2020-03-10net: macsec: invoke mdo_upd_secy callback when mac address changedDmitry Bogdanov1-0/+13
2020-03-10net: macsec: update SCI upon MAC address change.Dmitry Bogdanov1-5/+6
2020-03-03macsec: add missing attribute validation for portJakub Kicinski1-0/+1
2020-01-14net: macsec: PN wrap callbackAntoine Tenart1-6/+19
2020-01-14net: macsec: add nla support for changing the offloading selectionAntoine Tenart1-3/+142
2020-01-14net: macsec: hardware offloading infrastructureAntoine Tenart1-12/+441
2020-01-14net: macsec: move some definitions in a dedicated headerAntoine Tenart1-163/+1
2019-10-24net: remove unnecessary variables and callbackTaehee Yoo1-9/+0
2019-10-24macsec: fix refcnt leak in module exit routineTaehee Yoo1-4/+0
2019-10-24net: core: add generic lockdep keysTaehee Yoo1-5/+0
2019-09-26macsec: drop skb sk before calling gro_cells_receiveXin Long1-0/+1
2019-07-02macsec: fix checksumming after decryptionAndreas Steinmetz1-0/+1
2019-07-02macsec: fix use-after-free of skb during RXAndreas Steinmetz1-3/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-04-27genetlink: optionally validate strictly/dumpsJohannes Berg1-0/+10
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-6/+2
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-12/+15
2019-04-01macsec: add noinline tag to avoid a frame size warningFlorian Westphal1-10/+12
2019-03-22genetlink: make policy common to familyJohannes Berg1-10/+1
2018-10-28macsec: let the administrator set UP state even if lowerdev is downSabrina Dubroca1-3/+0
2018-10-28macsec: update operstate when lower device changesSabrina Dubroca1-0/+17
2018-09-21DRIVERS: net: macsec: Fix multiple coding style issuesRomain Aviolat1-10/+8
2018-04-16Revert "macsec: missing dev_put() on error in macsec_newlink()"Dan Carpenter1-3/+2
2018-03-22macsec: missing dev_put() on error in macsec_newlink()Dan Carpenter1-2/+3
2018-01-22macsec: restore uAPI after addition of GCM-AES-256Sabrina Dubroca1-7/+5
2018-01-09macsec: Add support for GCM-AES-256 cipher suiteFelix Walter1-13/+59
2017-11-16genetlink: fix genlmsg_nlhdr()Michal Kubecek1-1/+1
2017-10-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2017-10-22drivers, net: convert masces_tx_sa.refcnt from atomic_t to refcount_tElena Reshetova1-4/+4
2017-10-22drivers, net: convert masces_rx_sc.refcnt from atomic_t to refcount_tElena Reshetova1-4/+4
2017-10-22drivers, net: convert masces_rx_sa.refcnt from atomic_t to refcount_tElena Reshetova1-4/+5
2017-10-11macsec: fix memory leaks when skb_to_sgvec failsSabrina Dubroca1-0/+2
2017-10-04net: Add extack to upper device linkingDavid Ahern1-1/+1
2017-08-22macsec: add genl family module aliasSabrina Dubroca1-0/+1
2017-06-26net: add netlink_ext_ack argument to rtnl_link_ops.validateMatthias Schiffer1-1/+2
2017-06-26net: add netlink_ext_ack argument to rtnl_link_ops.changelinkMatthias Schiffer1-1/+2
2017-06-26net: add netlink_ext_ack argument to rtnl_link_ops.newlinkMatthias Schiffer1-1/+2
2017-06-16networking: make skb_push & __skb_push return void pointersJohannes Berg1-1/+1
2017-06-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2017-06-07net: Fix inconsistent teardown and release of private netdev state.David S. Miller1-2/+2
2017-06-04macsec: check return value of skb_to_sgvec alwaysJason A. Donenfeld1-2/+11
2017-05-22macsec: double accounting of dropped rx/tx packetsGirish Moodalbail1-12/+3
2017-04-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+21
2017-04-26macsec: dynamically allocate space for sglistJason A. Donenfeld1-7/+22
2017-04-24macsec: avoid heap overflow in skb_to_sgvecJason A. Donenfeld1-1/+1
2017-04-13netlink: pass extended ACK struct to parsing functionsJohannes Berg1-4/+6
2017-02-21macsec: fix validation failed in asynchronous operation.Lee Ryder1-0/+3
2017-01-08net: make ndo_get_stats64 a void functionstephen hemminger1-5/+3
2016-12-08macsec: remove first zero and add attribute name in commentsZhang Shengju1-13/+12
2016-10-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-8/+18
2016-10-27macsec: Fix header length if SCI is added if explicitly disabledTobias Brunner1-8/+18
2016-10-27genetlink: mark families as __ro_after_initJohannes Berg1-1/+1
2016-10-27genetlink: statically initialize familiesJohannes Berg1-8/+13
2016-10-27genetlink: no longer support using static family IDsJohannes Berg1-1/+0
2016-10-20net: use core MTU range checking in core net infraJarod Wilson1-0/+2
2016-09-09macsec: set network devtypestephen hemminger1-0/+1
2016-08-13net: remove type_check from dev_get_nest_level()Sabrina Dubroca1-1/+1
2016-08-13macsec: fix lockdep splats when nesting devicesSabrina Dubroca1-2/+27
2016-08-11macsec: use after free when deleting the underlying deviceSabrina Dubroca1-6/+17
2016-07-30macsec: fix negative refcnt on parent linkSabrina Dubroca1-2/+2
2016-07-30macsec: RXSAs don't need to hold a reference on RXSCsSabrina Dubroca1-2/+1
2016-07-30macsec: fix reference counting on RXSC in macsec_handle_frameSabrina Dubroca1-1/+8
2016-07-26macsec: ensure rx_sa is set when validation is disabledBeniamino Galvani1-1/+2
2016-07-25macsec: validate ICV length on link creationDavide Caratti1-1/+13
2016-07-25macsec: fix error codes when a SA is createdDavide Caratti1-22/+36
2016-07-25macsec: limit ICV length to 16 octetsDavide Caratti1-2/+2
2016-07-22macsec: enable GRO and RPS on macsec devicesPaolo Abeni1-7/+25
2016-07-01macsec: set actual real device for xmit when !protect_framesDaniel Borkmann1-0/+1
2016-06-15macsec: fix SA initializationSabrina Dubroca1-1/+1
2016-06-15macsec: allocate sg and iv on the heapSabrina Dubroca1-9/+37
2016-06-15macsec: add rcu_barrier() on module exitSabrina Dubroca1-0/+1
2016-05-20macsec: fix netlink attribute for key idSabrina Dubroca1-2/+2
2016-05-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-10/+13
2016-05-09macsec: key identifier is 128 bits, not 64Sabrina Dubroca1-6/+13
2016-04-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-23/+40
2016-04-26macsec: use nla_put_u64_64bit()Nicolas Dichtel1-33/+88
2016-04-25macsec: Convert to using IFF_NO_QUEUEPhil Sutter1-1/+1
2016-04-24macsec: fix netlink attribute validationSabrina Dubroca1-2/+2
2016-04-24macsec: add missing macsec prefix in uapiSabrina Dubroca1-5/+7
2016-04-24macsec: fix SA leak if initialization failsSabrina Dubroca1-0/+2
2016-04-24macsec: fix memory leaks around rx_handler (un)registrationSabrina Dubroca1-2/+6
2016-04-24macsec: add consistency check to netlink dumpsSabrina Dubroca1-0/+11
2016-04-24macsec: fix rx_sa refcounting with decrypt callbackSabrina Dubroca1-7/+9
2016-04-24macsec: don't put a NULL rxsaSabrina Dubroca1-1/+2
2016-04-24macsec: take rtnl lock before for_each_netdevSabrina Dubroca1-5/+2