aboutsummaryrefslogtreecommitdiffstats
path: root/net/packet
AgeCommit message (Expand)AuthorFilesLines
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
2015-03-02net: use common macro for assering skb->cb[] available size in protocol familiesEyal Birger1-2/+1
2015-03-02net: packet: use sockaddr_ll fields as storage for skb original length in rec...Eyal Birger1-6/+24
2015-02-24af_packet: don't pass empty blocks for PACKET_V3Alexander Drozdov1-1/+9
2015-02-21af_packet: allow packets defragmentation not only for hash fanout typeAlexander Drozdov1-5/+5
2015-01-18netlink: make nlmsg_end() and genlmsg_end() voidJohannes Berg1-1/+2
2015-01-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2015-01-13net: rename vlan_tx_* helpers since "tx" is misleading thereJiri Pirko1-6/+6
2015-01-12packet: make packet too small warning match conditionWillem de Bruijn1-1/+1
2015-01-11packet: bail out of packet_snd() if L2 header creation failsChristoph Jaeger1-1/+1
2014-12-22packet: Fixed TPACKET V3 to signal poll when block is closed rather than ever...Dan Collins1-4/+7
2014-12-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-16/+29
2014-12-09put iov_iter into msghdrAl Viro1-5/+2
2014-12-09af_packet: virtio 1.0 stubsMichael S. Tsirkin1-13/+22
2014-11-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2014-11-24af_packet: fix sparse warningMichael S. Tsirkin1-1/+1
2014-11-24switch AF_PACKET and AF_UNIX to skb_copy_datagram_from_iter()Al Viro1-3/+8
2014-11-24new helper: memcpy_to_msg()Al Viro1-2/+1
2014-11-24new helper: memcpy_from_msg()Al Viro1-3/+2
2014-11-21packet: make packet_snd fail on len smaller than l2 headerWillem de Bruijn1-8/+21
2014-11-05net: Add and use skb_copy_datagram_msg() helper.David S. Miller1-1/+1
2014-09-01net: Pass a "more" indication down into netdev_start_xmit() code paths.David S. Miller1-1/+1
2014-09-01net: Do txq_trans_update() in netdev_start_xmit()David S. Miller1-5/+2
2014-08-29net: add skb_get_tx_queue() helperDaniel Borkmann1-3/+1
2014-08-24net: Add ops->ndo_xmit_flush()David S. Miller1-2/+1
2014-08-21packet: handle too big packets for PACKET_V3Eric Dumazet2-0/+18
2014-07-29packet: remove deprecated syststamp timestampWillem de Bruijn1-8/+4
2014-07-15packet: remove unnecessary break after returnFabian Frederick1-2/+0
2014-04-24net: Use netlink_ns_capable to verify the permisions of netlink messagesEric W. Biederman1-1/+1
2014-04-24net: Move the permission check in sock_diag_put_filterinfo to packet_diag_dumpEric W. Biederman1-1/+6
2014-04-22net: Fix ns_capable check in sock_diag_put_filterinfoAndrew Lutomirski1-1/+1
2014-04-11net: Fix use after free by removing length arg from sk_data_ready callbacks.David S. Miller1-3/+3
2014-04-03packet: fix packet_direct_xmit for BQL enabled driversDaniel Borkmann1-1/+1
2014-04-03packet: report tx_dropped in packet_direct_xmitDaniel Borkmann1-0/+1
2014-03-28packet: respect devices with LLTX flag in direct xmitDaniel Borkmann1-20/+20
2014-03-26net: Rename skb->rxhash to skb->hashTom Herbert1-2/+1