aboutsummaryrefslogtreecommitdiffstats
path: root/net/packet
AgeCommit message (Expand)AuthorFilesLines
2024-03-18Revert "net: Re-use and set mono_delivery_time bit for userspace tstamp packets"Abhishek Chauhan1-3/+1
2024-03-18packet: annotate data-races around ignore_outgoingEric Dumazet1-2/+2
2024-03-11net/packet: Add getsockopt support for PACKET_COPY_THRESHJuntong Deng2-3/+6
2024-03-05net: Re-use and set mono_delivery_time bit for userspace tstamp packetsAbhishek Chauhan1-1/+3
2024-01-23sock_diag: add module pointer to "struct sock_diag_handler"Eric Dumazet1-0/+1
2024-01-05net: fill in MODULE_DESCRIPTION() for AF_PACKETJakub Kicinski1-0/+1
2023-12-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-9/+9
2023-12-05packet: add a generic drop reason for receiveYan Zhai1-13/+7
2023-12-04packet: Move reference count in packet_sock to atomic_long_tDaniel Borkmann2-9/+9
2023-11-19net: fill in MODULE_DESCRIPTION()s for SOCK_DIAG modulesJakub Kicinski1-0/+1
2023-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+6
2023-10-12af_packet: Fix fortified memcpy() without flex array.Kuniyuki Iwashima1-1/+6
2023-10-06net/packet: Annotate struct packet_fanout with __counted_byKees Cook1-1/+1
2023-08-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+10
2023-08-04net/packet: annotate data-races around tp->statusEric Dumazet1-6/+10
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+6
2023-08-02net/packet: change packet_alloc_skb() to allow bigger paged allocationsEric Dumazet1-1/+3
2023-07-29net: annotate data-races around sk->sk_priorityEric Dumazet1-3/+3
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-3/+3
2023-07-25af_packet: Fix warning of fortified memcpy() in packet_getname().Kuniyuki Iwashima1-1/+1
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-2/+0
2023-05-29af_packet: do not use READ_ONCE() in packet_bind()Eric Dumazet1-3/+5
2023-05-25af_packet: Fix data-races of pkt_sk(sk)->num.Kuniyuki Iwashima2-3/+3
2023-05-10net: add vlan_get_protocol_and_depth() helperEric Dumazet1-4/+2
2023-05-03af_packet: Don't send zero-byte data in packet_sendmsg_spkt().Kuniyuki Iwashima1-1/+1
2023-04-21net/packet: support mergeable feature of virtioJianfeng Tan3-40/+59
2023-03-27net: introduce a config option to tweak MAX_SKB_FRAGSEric Dumazet1-2/+2
2023-03-19net/packet: remove po->xmitEric Dumazet2-16/+10
2023-03-18af_packet: preserve const qualifier in pkt_sk()Eric Dumazet1-4/+1
2023-03-17net/packet: convert po->pressure to an atomic flagEric Dumazet2-7/+9
2023-03-17net/packet: convert po->running to an atomic flagEric Dumazet3-12/+12
2023-03-17net/packet: convert po->has_vnet_hdr to an atomic flagEric Dumazet3-11/+12
2023-03-17net/packet: convert po->tp_loss to an atomic flagEric Dumazet3-6/+6
2023-03-17net/packet: convert po->tp_tx_has_off to an atomic flagEric Dumazet2-5/+5
2023-03-17net/packet: annotate accesses to po->tp_tstampEric Dumazet2-5/+6
2023-03-17net/packet: convert po->auxdata to an atomic flagEric Dumazet3-8/+6
2023-03-17net/packet: convert po->origdev to an atomic flagEric Dumazet3-8/+26
2023-03-17net/packet: annotate accesses to po->xmitEric Dumazet1-4/+8
2023-02-15net: no longer support SOCK_REFCNT_DEBUG featureJason Xing1-4/+0
2023-02-01packet: add TP_STATUS_GSO_TCP for tp_statusXin Long1-0/+4
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-5/+6
2022-12-12Merge tag 'random-6.2-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-2/+2
2022-11-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+2
2022-11-29packet: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETEWillem de Bruijn1-4/+2
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-2/+2
2022-10-28net/packet: add PACKET_FANOUT_FLAG_IGNORE_OUTGOINGWillem de Bruijn1-0/+1
2022-10-25net: dev: Convert sa_data to flexible array in struct sockaddrKees Cook1-5/+5
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-1/+1
2022-09-21net/af_packet: registration process optimization in packet_init()Ziyang Xuan1-13/+13
2022-08-22packet: move from strlcpy with unused retval to strscpyWolfram Sang1-2/+2
2022-07-29net/af_packet: check len when min_header_len equals to 0Zhengchao Shao1-2/+2
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-6/+6
2022-06-02net/af_packet: make sure to pull mac headerEric Dumazet1-2/+4
2022-04-28net: SO_RCVMARK socket option for SO_MARK with recvmsg()Erin MacNeil1-1/+1
2022-04-26net/af_packet: add VLAN support for AF_PACKET SOCK_RAW GSOHangbin Liu1-5/+13
2022-04-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-4/+9
2022-04-15net/packet: fix packet_sock xmit return value checkingHangbin Liu1-4/+9
2022-04-06net: remove noblock parameter from skb_recv_datagram()Oliver Hartkopp1-1/+1
2022-03-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+10
2022-03-14net/packet: fix slab-out-of-bounds access in packet_recvmsg()Eric Dumazet1-1/+10
2022-03-03net: Handle delivery_time in skb->tstamp during network tapping with af_packetMartin KaFai Lau1-1/+3
2022-02-01af_packet: fix data-race in packet_setsockopt / packet_setsockoptEric Dumazet1-2/+6
2022-01-20net: fix information leakage in /proc/net/ptypeCongyu Liu1-0/+2
2022-01-07af_packet: fix tracking issues in packet_do_bind()Eric Dumazet1-19/+8
2021-12-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+1
2021-12-29net: Don't include filter.h from net/sock.hJakub Kicinski1-0/+1
2021-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
2021-12-15net/packet: rx_owner_map depends on pg_vecWillem de Bruijn1-2/+3
2021-12-15net: add net device refcount tracker to struct packet_typeEric Dumazet1-3/+11
2021-11-16net: drop nopreempt requirement on sock_prot_inuse_add()Eric Dumazet1-4/+0
2021-10-14af_packet: Introduce egress hookPablo Neira Ayuso1-0/+35
2021-09-10net/packet: clarify source of pr_*() messagesBaruch Siach1-0/+2
2021-08-05net: Remove redundant if statementsYajun Deng1-10/+5
2021-06-30Merge tag 'net-next-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-7/+4
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-2/+2
2021-06-28Merge tag 'fallthrough-fixes-clang-5.14-rc1' of git://git.kernel.org/pub/scm/...Linus Torvalds1-0/+1
2021-06-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-18/+23
2021-06-16net/packet: annotate accesses to po->ifindexEric Dumazet1-7/+9
2021-06-16net/packet: annotate accesses to po->bindEric Dumazet1-8/+8
2021-06-10net/packet: annotate data race in packet_sendmsg()Eric Dumazet1-3/+6
2021-05-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+8
2021-05-17net/packet: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2021-05-17net/packet: Remove redundant assignment to retJiapeng Chong1-5/+2
2021-05-12net: packetmmap: fix only tx timestamp on requestRichard Sanger1-2/+8
2021-04-14net/packet: remove data races in fanout operationsEric Dumazet2-7/+10
2021-03-24net/packet: Fix a typo in af_packet.cWang Hai1-1/+1
2021-02-06net/packet: Improve the comment about LL header visibility criteriaXie He1-2/+2
2021-01-29net: packet: make pkt_sk() inlineMenglong Dong1-1/+1
2020-12-18net: af_packet: fix procfs header for 64-bit pointersBaruch Siach1-1/+3
2020-12-14net: fix proc_fs init handling in af_packet and tlsYonatan Linik1-0/+2
2020-11-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-9/+9
2020-11-23net/packet: fix packet receive on L3 devices without visible hard headerEyal Birger1-9/+9
2020-11-23net: don't include ethtool.h from netdevice.hJakub Kicinski1-0/+1
2020-11-09net/packet: make packet_fanout.arr size configurable up to 64KTanner Love2-14/+28
2020-09-19net/packet: Fix a comment about network_headerXie He1-1/+1
2020-09-17net/packet: Fix a comment about mac_headerXie He1-11/+12
2020-09-14net/packet: Fix a comment about hard_header_len and headroom allocationXie He1-6/+9
2020-09-06net/packet: Remove unused macro BLOCK_PRIVWang Hai1-1/+0
2020-09-04net/packet: fix overflow in tpacket_rcvOr Cohen1-1/+6
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-13af_packet: TPACKET_V3: fix fill status rwlock imbalanceJohn Ogness1-2/+7
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-19/+20
2020-07-24net: switch copy_bpf_fprog_from_user to sockptr_tChristoph Hellwig1-2/+2
2020-07-19net: make ->{get,set}sockopt in proto_ops optionalChristoph Hellwig1-2/+0
2020-07-19net: simplify cBPF setsockopt compat handlingChristoph Hellwig1-29/+4
2020-07-16af_packet: TPACKET_V3: replace busy-wait loopJohn Ogness2-11/+11
2020-07-01net/packet: remove redundant initialization of variable errColin Ian King1-1/+1
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada1-2/+2
2020-03-15net/packet: tpacket_rcv: avoid a producer race conditionWillem de Bruijn2-1/+25
2020-03-11net/packet: tpacket_rcv: do not increment ring index on dropWillem de Bruijn1-6/+7
2020-01-29Merge tag 'y2038-drivers-for-v5.6-signed' of git://git.kernel.org:/pub/scm/li...Linus Torvalds1-10/+17
2019-12-26af_packet: refactoring code for prb_calc_retire_blk_tmoMao Wenan1-18/+12
2019-12-18packet: clarify timestamp overflowArnd Bergmann1-10/+17
2019-12-09af_packet: set defaule value for tmoMao Wenan1-1/+2
2019-11-08packet: fix data-race in fanout_flow_is_huge()Eric Dumazet1-3/+9
2019-10-01netfilter: drop bridge nf reset from nf_resetFlorian Westphal1-2/+2
2019-08-15net/packet: fix race in tpacket_snd()Eric Dumazet1-0/+7
2019-06-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-4/+20
2019-06-26af_packet: Block execution of tasks waiting for transmit to complete in AF_PA...Neil Horman2-3/+18
2019-06-24net/packet: fix memory leak in packet_set_ring()Eric Dumazet1-1/+2
2019-06-14net/packet: introduce packet_rcv_try_clear_pressure() helperEric Dumazet1-4/+9
2019-06-14net/packet: remove locking from packet_rcv_has_room()Eric Dumazet1-11/+9
2019-06-14net/packet: implement shortcut in tpacket_rcv()Eric Dumazet1-0/+6
2019-06-14net/packet: make tp_drops atomicEric Dumazet2-9/+12
2019-06-14net/packet: constify __packet_rcv_has_room()Eric Dumazet1-5/+8
2019-06-14net/packet: constify prb_lookup_block() and __tpacket_v3_has_room()Eric Dumazet1-7/+7
2019-06-14net/packet: constify packet_lookup_frame() and __tpacket_has_room()Eric Dumazet1-7/+7
2019-06-14net/packet: constify __packet_get_status() argumentEric Dumazet1-1/+1
2019-06-11packet: remove unused variable 'status' in __packet_lookup_frame_in_blockMao Wenan1-2/+1
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-1/+1
2019-06-02packet: unconditionally free po->rolloverWillem de Bruijn1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-7/+1
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner2-0/+2
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner1-0/+1
2019-05-09packet: Fix error path in packet_initYueHaibing1-5/+20
2019-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-12/+25
2019-05-01packet: validate msg_namelen in send directlyWillem de Bruijn1-10/+14
2019-05-01packet: in recvmsg msg_name return at least sizeof sockaddr_llWillem de Bruijn1-2/+11
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-1/+1
2019-04-19net: rework SIOCGSTAMP ioctl handlingArnd Bergmann1-5/+2
2019-03-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2019-03-20net: remove 'fallback' argument from dev->ndo_select_queue()Paolo Abeni1-2/+1
2019-03-20packet: rework packet_pick_tx_queue() to use common code selectionPaolo Abeni1-8/+7
2019-03-20net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vecChristoph Paasch1-1/+1
2019-03-18af_packet: fix the tx skb protocol in raw sockets with ETH_P_ALLYoshiki Komachi1-1/+2
2019-03-18packets: Always register packet sk in the same orderMaxime Chevallier1-1/+1
2019-02-22net/packet: Remove redundant skb->protocol setMaxim Mikityanskiy1-11/+0
2019-02-22net/packet: Ask driver for protocol if not provided by userMaxim Mikityanskiy1-3/+12
2019-02-22net: Don't set transport offset to invalid valueMaxim Mikityanskiy1-3/+3
2019-02-12net/packet: fix 4gb buffer limit due to overflow checkKal Conley1-1/+1
2019-01-17af_packet: fix raw sockets over 6in4 tunnelNicolas Dichtel1-1/+2
2019-01-08packet: Do not leak dev refcounts on error exitJason Gunthorpe1-2/+2
2018-12-22packet: validate address length if non-zeroWillem de Bruijn1-2/+2
2018-12-21packet: validate address lengthWillem de Bruijn1-0/+4
2018-12-17net: add missing SOF_TIMESTAMPING_OPT_ID supportWillem de Bruijn1-3/+3
2018-11-23packet: copy user buffers before orphan or cloneWillem de Bruijn1-2/+2
2018-10-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+7
2018-10-04net/packet: fix packet drop as of virtio gsoJianfeng Tan1-4/+7
2018-09-05packet: add sockopt to ignore outgoing packetsVincent Whitchurch1-0/+17
2018-08-31Revert "packet: switch kvzalloc to allocate memory"Eric Dumazet2-13/+32
2018-08-13packet: switch kvzalloc to allocate memoryLi RongQing2-32/+13
2018-08-09Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+6
2018-08-06packet: refine ring v3 block size test to hold one frameWillem de Bruijn1-4/+6
2018-08-04net: Remove some unneeded semicolonzhong jiang1-2/+2
2018-07-20Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linuxDavid S. Miller1-0/+2
2018-07-12packet: reset network header if packet shorter than ll reserved spaceWillem de Bruijn1-0/+2
2018-07-09net: allow fallback function to pass netdevAlexander Duyck1-3/+4
2018-07-09net: Add generic ndo_select_queue functionsAlexander Duyck1-1/+1
2018-07-07sock: sockc cookie initializerWillem de Bruijn1-6/+3
2018-07-04net: packet: Hook into time based transmission.Richard Cochran1-0/+6
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds1-4/+5
2018-06-22net/packet: fix use-after-freeEric Dumazet1-9/+7
2018-06-12treewide: Use array_size() in vzalloc()Kees Cook1-1/+1
2018-06-07net: in virtio_net_hdr only add VLAN_HLEN to csum_start if payload holds vlanWillem de Bruijn1-2/+2
2018-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-38/+6
2018-06-04Merge branch 'work.aio-1' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-5/+4
2018-06-04Merge branch 'hch.procfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-15/+2
2018-06-04net/packet: refine check for priv area sizeEric Dumazet1-1/+1
2018-05-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2018-05-26net: convert datagram_poll users tp ->poll_maskChristoph Hellwig1-5/+4
2018-05-24packet: fix reserve calculationWillem de Bruijn1-1/+1
2018-05-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2018-05-16proc: introduce proc_create_net{,_data}Christoph Hellwig1-15/+2
2018-05-13packet: in packet_snd start writing at link layer allocationWillem de Bruijn1-1/+3
2018-05-03dev: packet: make packet_direct_xmit a common functionMagnus Karlsson1-37/+5
2018-04-24packet: fix bitfield update raceWillem de Bruijn2-21/+49
2018-04-16net: af_packet: fix race in PACKET_{R|T}X_RINGEric Dumazet1-9/+14
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-1/+0
2018-02-13net: Convert packet_net_opsKirill Tkhai1-0/+1
2018-02-12net: make getname() functions return length rather than use int* parameterDenys Vlasenko1-6/+4
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-2/+2
2018-01-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-2/+2
2018-01-30Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2018-01-16net: delete /proc THIS_MODULE referencesAlexey Dobriyan1-1/+0
2017-12-20net: Add asynchronous callbacks for xfrm on layer 2.Steffen Klassert1-1/+2
2017-11-28net/packet: fix a race in packet_bind() and packet_notifier()Eric Dumazet1-0/+5
2017-11-28packet: fix crash in fanout_demux_rollover()Mike Maloney2-23/+10
2017-11-27net: annotate ->poll() instancesAl Viro1-2/+2
2017-11-14packet: exit_net cleanup check addedVasily Averin1-0/+1
2017-11-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1