aboutsummaryrefslogtreecommitdiffstats
path: root/net/packet
AgeCommit message (Expand)AuthorFilesLines
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
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-25net: af_packet: Convert timers to use timer_setup()Kees Cook1-15/+7
2017-10-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-8/+16
2017-10-21packet: avoid panic in packet_getsockopt()Eric Dumazet1-8/+16
2017-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+8
2017-09-28packet: only test po->has_vnet_hdr once in packet_sndWillem de Bruijn1-1/+3
2017-09-28packet: in packet_do_bind, test fanout with bind_lock heldWillem de Bruijn1-3/+5
2017-09-25net: af_packet: use setup_timer() helper.Allen Pais1-3/+1
2017-09-20packet: hold bind lock when rebinding to fanout hookWillem de Bruijn1-5/+11
2017-09-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+9
2017-08-29packet: Don't write vnet header beyond end of bufferBenjamin Poirier1-3/+9
2017-08-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+9
2017-08-10packet: fix tp_reserve race in packet_set_ringWillem de Bruijn1-4/+9
2017-08-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2017-07-24packet: fix use-after-free in prb_retire_rx_blk_timer_expired()WANG Cong1-1/+1
2017-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+2
2017-07-19net/packet: remove unused PGV_FROM_VMALLOC definition.Rosen, Rami1-2/+0
2017-07-14net/packet: Fix Tx queue selection for AF_PACKETIván Briano1-4/+2
2017-07-01net: convert packet_fanout.sk_ref from atomic_t to refcount_tReshetova, Elena2-5/+7
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-2/+2
2017-06-10net/packet: remove unneeded declaraion of tpacket_snd().Rosen, Rami1-1/+0
2017-05-25net/packet: remove unused parameter in prb_curr_blk_in_use().Rosen, Rami1-6/+4
2017-05-15net/packet: fix missing net_device reference releaseDouglas Caetano dos Santos1-7/+7
2017-04-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2017-04-25net/packet: check length in getsockopt() called with PACKET_HDRLENAlexander Potapenko1-0/+2
2017-04-24packet: add PACKET_FANOUT_FLAG_UNIQUEID to assign new fanout group id.Mike Maloney1-0/+44
2017-03-30net/packet: fix overflow in check for tp_reserveAndrey Konovalov1-0/+2
2017-03-30net/packet: fix overflow in check for tp_frame_nrAndrey Konovalov1-0/+2
2017-03-30net/packet: fix overflow in check for priv area sizeAndrey Konovalov1-2/+2
2017-03-01net: don't call strlen() on the user buffer in packet_bind_spkt()Alexander Potapenko1-2/+6
2017-02-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+22
2017-02-17packet: Do not call fanout_release from atomic contextsAnoob Soman1-9/+22
2017-02-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-25/+30
2017-02-14packet: fix races in fanout_add()Eric Dumazet1-25/+30
2017-02-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+4
2017-02-08packet: round up linear to header lenWillem de Bruijn1-3/+4
2017-01-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2017-01-20virtio-net: restore VIRTIO_HDR_F_DATA_VALID on receivingJason Wang1-2/+2
2017-01-10packet: pdiag_put_ring() should return TX_RING info for TPACKET_V3Sowmini Varadhan1-2/+1
2017-01-04packet: fix panic in __packet_set_timestamp on tpacket_v3 in tx modeDaniel Borkmann1-0/+3
2017-01-03af_packet: TX_RING support for TPACKET_V3Sowmini Varadhan1-9/+30
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-4/+1
2016-12-05[iov_iter] new primitives - copy_from_iter_full() and friendsAl Viro1-4/+1
2016-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+12
2016-12-02packet: fix race condition in packet_set_ringPhilip Pettersson1-6/+12
2016-11-19af_packet: Use virtio_net_hdr_from_skb() directly.Jarno Rajahalme1-12/+4
2016-11-19af_packet: Use virtio_net_hdr_to_skb().Jarno Rajahalme1-48/+3
2016-11-19virtio_net: Do not clear memory for struct virtio_net_hdr twice.Jarno Rajahalme1-2/+0
2016-10-29packet: on direct_xmit, limit tso and csum to supported devicesWillem de Bruijn1-5/+4
2016-10-06packet: call fanout_release, while UNREGISTERING a netdevAnoob Soman1-0/+1
2016-07-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+4
2016-07-22packet: propagate sock_cmsg_send() errorSoheil Hassas Yeganeh1-3/+1
2016-07-19packet: fix second argument of sock_tx_timestamp()Yoshihiro Shimoda1-3/+3
2016-07-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-07-01packet: Use symmetric hash for PACKET_FANOUT_HASH.David S. Miller1-1/+1
2016-07-01bpf: refactor bpf_prog_get and type check into helperDaniel Borkmann1-5/+1
2016-06-10packet: use common code for virtio_net_hdr and skb GSO conversionMike Rapoport1-34/+2
2016-06-09packet: compat support for sock_fprogWillem de Bruijn1-0/+25
2016-04-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2016-04-14packet: uses kfree_skb() for errors.Weongyo Jeong1-2/+12
2016-04-14packet: fix heap info leak in PACKET_DIAG_MCLIST sock_diag interfaceMathias Krause1-0/+1
2016-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-04-06af_packet: tone down the Tx-ring unsupported spew.Dave Jones1-1/+1
2016-04-04sock: enable timestamping using control messagesSoheil Hassas Yeganeh1-5/+25
2016-03-09packet: validate variable length ll headersWillem de Bruijn1-25/+18
2016-02-25net: core: use __ethtool_get_ksettingsDavid Decotigny1-6/+5
2016-02-09packet: tpacket_snd gso and checksum offloadWillem de Bruijn1-16/+37
2016-02-09packet: parse tpacket header before skb allocWillem de Bruijn1-46/+65
2016-02-09packet: vnet_hdr support for tpacket_rcvWillem de Bruijn1-4/+15
2016-02-09packet: move vnet_hdr code to helper functionsWillem de Bruijn1-113/+148
2015-11-29packet: Allow packets with only a header (but no payload)Martin Blumenstingl1-2/+2
2015-11-17packet: Use PAGE_ALIGNED macroTobias Klauser1-1/+1
2015-11-17packet: Don't check frames_per_block against negative valuesTobias Klauser1-2/+2
2015-11-15packet: fix tpacket_snd max frame lenDaniel Borkmann1-4/+5
2015-11-15packet: infer protocol from ethernet header if unsetDaniel Borkmann1-0/+11
2015-11-15packet: only allow extra vlan len on ethernet devicesDaniel Borkmann1-35/+25
2015-11-15packet: always probe for transport headerDaniel Borkmann1-4/+3
2015-11-15packet: do skb_probe_transport_header when we actually have dataDaniel Borkmann1-2/+3
2015-11-05packet: race condition in packet_bindFrancesco Ruggeri1-31/+49
2015-10-12ipv4: Pass struct net into ip_defrag and ip_check_defragEric W. Biederman1-3/+3
2015-10-12packet: fix match_fanout_group()Eric Dumazet1-3/+3
2015-10-12packet: support per-packet fwmark for af_packet sendmsgEdward Jee1-1/+9
2015-10-11bpf: fix cb access in socket filter programsAlexei Starovoitov1-5/+5
2015-10-05bpf, seccomp: prepare for upcoming criu supportDaniel Borkmann1-1/+1
2015-09-23Fix AF_PACKET ABI breakage in 4.2David Woodhouse1-15/+17
2015-08-17packet: add extended BPF fanout modeWillem de Bruijn1-0/+31
2015-08-17packet: add classic BPF fanout modeWillem de Bruijn2-2/+102
2015-07-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+5
2015-07-29packet: remove handling of tx_ring from prb_shutdown_retire_blk_timer()Tobias Klauser1-4/+2
2015-07-29packet: tpacket_snd(): fix signed/unsigned comparisonAlexander Drozdov1-1/+2
2015-07-27packet: missing dev_put() in packet_do_bind()Lars Westerhoff1-5/+3
2015-06-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-17/+3
2015-06-23packet: remove handling of tx_ringManinder Singh1-9/+5
2015-06-21packet: avoid out of bounds read in round robin fanoutWillem de Bruijn1-16/+2
2015-06-21packet: free packet_rollover after synchronize_netWillem de Bruijn2-1/+3
2015-06-21packet: read num_members once in packet_rcv_fanout()Eric Dumazet1-1/+1
2015-05-17net-packet: fix null pointer exception in rollover modeWillem de Bruijn1-3/+5
2015-05-14packet: fix warnings in rollover lock contentionWillem de Bruijn1-10/+5
2015-05-13packet: rollover statisticsWillem de Bruijn2-1/+21
2015-05-13packet: rollover huge flows before small flowsWillem de Bruijn2-3/+24
2015-05-13packet: rollover lock contention avoidanceWillem de Bruijn2-7/+32
2015-05-13packet: rollover only to socket with headroomWillem de Bruijn1-17/+59
2015-05-13packet: rollover prepare: per-socket stateWillem de Bruijn2-4/+23
2015-05-13packet: rollover prepare: move code out of callsitesWillem de Bruijn1-9/+10
2015-05-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+6
2015-05-11net: Pass kern from net_proto_family.create to sk_allocEric W. Biederman1-1/+1
2015-05-10af_packet / TX_RING not fully non-blocking (w/ MSG_DONTWAIT).Kretschmer, Mathias1-3/+6
2015-03-23af_packet: pass checksum validation status to the userAlexander Drozdov1-0/+9
2015-03-23af_packet: make tpacket_rcv to not set status value before run_filterAlexander Drozdov1-3/+4
2015-03-12net: Introduce possible_net_tEric W. Biederman1-3/+1
2015-03-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-8/+14
2015-03-09net: delete stale packet_mclist entriesFrancesco Ruggeri1-8/+14
2015-03-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+14
2015-03-02net: Remove iocb argument from sendmsg and recvmsgYing Xue1-6/+5
2015-03-02net: add common accessor for setting dropcount on packetsEyal Birger1-1/+1