aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/raw.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-02ipv4: Fix uninit-value access in __ip_make_skb()Shigeru Yoshida1-0/+3
2024-03-19ipv4: raw: Fix sending packets from raw sockets via IPsec tunnelsTobias Brunner1-0/+1
2024-03-18Revert "net: Re-use and set mono_delivery_time bit for userspace tstamp packets"Abhishek Chauhan1-1/+0
2024-03-08ipv4: raw: check sk->sk_rcvbuf earlierEric Dumazet1-0/+7
2024-03-05net: Re-use and set mono_delivery_time bit for userspace tstamp packetsAbhishek Chauhan1-0/+1
2024-03-04net: adopt skb_network_offset() and similar helpersEric Dumazet1-1/+1
2024-02-29ipv4: raw: remove useless input parameter in do_raw_set/getsockoptZhengchao Shao1-5/+5
2024-01-26ipmr: fix kernel panic when forwarding mcast packetsNicolas Dichtel1-1/+1
2023-10-01inet: implement lockless getsockopt(IP_MULTICAST_IF)Eric Dumazet1-2/+2
2023-10-01inet: implement lockless getsockopt(IP_UNICAST_IF)Eric Dumazet1-6/+7
2023-10-01inet: implement lockless IP_MTU_DISCOVEREric Dumazet1-1/+1
2023-08-16inet: move inet->hdrincl to inet->inet_flagsEric Dumazet1-7/+3
2023-08-16inet: move inet->recverr to inet->inet_flagsEric Dumazet1-6/+8
2023-08-16inet: introduce inet->inet_flagsEric Dumazet1-1/+1
2023-07-29net: annotate data-races around sk->sk_priorityEric Dumazet1-1/+1
2023-06-15net: ioctl: Use kernel memory on protocol ioctl callbacksBreno Leitao1-8/+8
2023-05-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+4
2023-05-24raw: Stop using RTO_ONLINK.Guillaume Nault1-6/+4
2023-05-23ipv{4,6}/raw: fix output xfrm lookup wrt protocolNicolas Dichtel1-1/+4
2023-04-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-17/+19
2023-04-04raw: Fix NULL deref in raw_get_next().Kuniyuki Iwashima1-17/+19
2023-03-17ipv4: raw: constify raw_v4_match() socket argumentEric Dumazet1-2/+2
2023-02-03raw: use net_hash_mix() in hash functionEric Dumazet1-6/+7
2023-02-03ipv4: raw: add drop reasonsEric Dumazet1-3/+5
2022-06-24raw: fix a typo in raw_icmp_error()Eric Dumazet1-1/+1
2022-06-21raw: complete rcu conversionEric Dumazet1-4/+4
2022-06-20raw: Use helpers for the hlist_nulls variant.Kuniyuki Iwashima1-4/+4
2022-06-20raw: Fix mixed declarations error in raw_icmp_error().Kuniyuki Iwashima1-1/+1
2022-06-19raw: convert raw sockets to RCUEric Dumazet1-45/+38
2022-06-19raw: use more conventional iteratorsEric Dumazet1-60/+33
2022-04-28net: SO_RCVMARK socket option for SO_MARK with recvmsg()Erin MacNeil1-1/+1
2022-04-12net: remove noblock parameter from recvmsg() entitiesOliver Hartkopp1-2/+1
2022-04-06net: remove noblock parameter from skb_recv_datagram()Oliver Hartkopp1-1/+2
2022-01-27Merge tag 'net-5.17-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-1/+4
2022-01-27ipv4: raw: lock the socket in raw_bind()Eric Dumazet1-1/+4
2022-01-22proc: remove PDE_DATA() completelyMuchun Song1-4/+4
2021-11-17ipv4/raw: support binding to nonlocal addressesRiccardo Paolo Bestetti1-6/+7
2021-11-16net: drop nopreempt requirement on sock_prot_inuse_add()Eric Dumazet1-1/+1
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-2/+2
2020-11-23lsm,selinux: pass flowi_common instead of flowi to the LSM hooksPaul Moore1-1/+1
2020-10-15Merge tag 'net-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-2/+3
2020-10-12Merge branch 'work.csum_and_copy' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2020-09-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2020-08-27net: Fix some commentsMiaohe Lin1-1/+1
2020-08-24net: Avoid access icmp_err_convert when icmp code is ICMP_FRAG_NEEDEDMiaohe Lin1-2/+3
2020-08-24net: ipv4: delete repeated wordsRandy Dunlap1-1/+1
2020-08-20csum_partial_copy_nocheck(): drop the last argumentAl Viro1-1/+1
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-4/+4
2020-07-19net/ipv4: remove compat_ip_{get,set}sockoptChristoph Hellwig1-22/+0
2020-03-11raw: Add missing annotations to raw_seq_start() and raw_seq_stop()Jules Irenge1-0/+2
2019-10-01netfilter: drop bridge nf reset from nf_resetFlorian Westphal1-1/+1
2019-09-13ip: support SO_MARK cmsgWillem de Bruijn1-2/+2
2019-06-25ipv4: Use return value of inet_iif() for __raw_v4_lookup in the while loopStephen Suryaputra1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-19net: Treat sock->sk_drops as an unsigned int when printingPatrick Talbert1-1/+1
2019-05-08ipv4: Fix raw socket lookup for local trafficDavid Ahern1-2/+2
2018-12-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2018-12-17net: add missing SOF_TIMESTAMPING_OPT_ID supportWillem de Bruijn1-1/+1
2018-11-27net/ipv4: Fix missing raw_init when CONFIG_PROC_FS is disabledDavid Ahern1-1/+1
2018-11-07net: fix raw socket lookup device bind matching with VRFsDuncan Eastoe1-2/+1
2018-11-07net: provide a sysctl raw_l3mdev_accept for raw socket lookup with VRFsMike Manning1-2/+26
2018-10-02ipv4: Allow sending multicast packets on specific i/f using VRF socketRobert Shearman1-1/+1
2018-07-07ip: remove tx_flags from ipcm_cookie and use same logic for v4 and v6Willem de Bruijn1-2/+0
2018-07-07ipv4: ipcm_cookie initializersWillem de Bruijn1-8/+1
2018-07-04net: ipv4: Hook into time based transmissionJesus Sanchez-Palencia1-0/+2
2018-05-16proc: introduce proc_create_net{,_data}Christoph Hellwig1-15/+2
2018-05-16ipv{4,6}/raw: simplify ѕeq_file codeChristoph Hellwig1-24/+12
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-1/+0
2018-03-26net: Use octal not symbolic permissionsJoe Perches1-1/+1
2018-03-22net: Revert "ipv4: fix a deadlock in ip_ra_control"Kirill Tkhai1-2/+0
2018-02-13net: Convert pernet_subsys, registered from inet_init()Kirill Tkhai1-0/+1
2018-02-03Merge tag 'usercopy-v4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+2
2018-01-25net/ipv4: Allow send to local broadcast from a socket bound to a VRFDavid Ahern1-1/+14
2018-01-16net: delete /proc THIS_MODULE referencesAlexey Dobriyan1-1/+0
2018-01-15ip: Define usercopy region in IP proto slab cacheDavid Windsor1-0/+2
2018-01-09net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg()Nicolai Stange1-1/+3
2017-12-11net: ipv4: fix for a race condition in raw_sendmsgMohamed Ghannam1-5/+10
2017-08-07net: ipv4: add second dif to multicast source filterDavid Ahern1-1/+1
2017-08-07net: ipv4: add second dif to raw socket lookupsDavid Ahern1-5/+11
2017-07-01net: convert sock.sk_refcnt from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-05-04ipv4, ipv6: ensure raw socket message is big enough to hold an IP headerAlexander Potapenko1-0/+3
2017-04-17ipv4: fix a deadlock in ip_ra_controlWANG Cong1-0/+2
2017-02-07net: use dst_confirm_neigh for UDP, RAW, ICMP, L2TPJulian Anastasov1-1/+5
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-11-07net: Update raw socket bind to consider l3 domainDavid Ahern1-1/+9
2016-11-04net: inet: Support UID-based routing in IP protocols.Lorenzo Colitti1-1/+1
2016-11-02net: ip, diag -- Adjust raw_abort to use unlocked __udp_disconnectCyrill Gorcunov1-1/+1
2016-10-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-10-23net: ip, diag -- Add diag interface for raw socketsCyrill Gorcunov1-2/+19
2016-10-20udp: must lock the socket in udp_disconnect()Eric Dumazet1-1/+1
2016-09-10net: ipv4: Remove l3mdev_get_saddrDavid Ahern1-6/+0
2016-04-04sock: enable timestamping using control messagesSoheil Hassas Yeganeh1-5/+6
2016-04-04ipv4: process socket-level control messages in IPv4Soheil Hassas Yeganeh1-1/+1
2016-02-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2016-02-13ipv4: fix memory leaks in ip_cmsg_send() callersEric Dumazet1-1/+3
2016-02-11sock: struct proto hash function may errorCraig Gallek1-1/+3
2016-01-04net: Propagate lookup failure in l3mdev_get_saddr to callerDavid Ahern1-2/+5
2015-11-16raw: increment correct SNMP counters for ICMP messagesBen Cartwright-Cox1-3/+5
2015-10-08net: Pass net into dst_output and remove dst_output_okfnEric W. Biederman1-1/+1
2015-10-07net: Add l3mdev saddr lookup to raw_sendmsgDavid Ahern1-2/+6
2015-09-17netfilter: Pass net into okfnEric W. Biederman1-1/+1
2015-09-17netfilter: Pass struct net into the netfilter hooksEric W. Biederman1-2/+3
2015-09-17net: Merge dst_output and dst_output_skEric W. Biederman1-1/+1
2015-04-13Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...David S. Miller1-1/+0
2015-04-09Merge branch 'iocb' into for-davemAl Viro1-1/+0
2015-04-07netfilter: Pass socket pointer down through okfn().David Miller1-2/+2
2015-04-03ipv4: coding style: comparison for inequality with NULLIan Morris1-2/+2
2015-04-03ipv4: coding style: comparison for equality with NULLIan Morris1-1/+1
2015-03-25fs: move struct kiocb to fs.hChristoph Hellwig1-1/+0
2015-03-25ipv4: hash net ptr into fragmentation bucket selectionHannes Frederic Sowa1-1/+1
2015-03-02net: Remove iocb argument from sendmsg and recvmsgYing Xue1-4/+3
2015-02-04net: switch memcpy_fromiovec()/memcpy_fromiovecend() users to copy_from_iter()Al Viro1-1/+1
2015-02-04ipv4: raw_send_hdrinc(): pass msghdrAl Viro1-4/+3
2014-12-09put iov_iter into msghdrAl Viro1-1/+2
2014-12-09ip_generic_getfrag, udplite_getfrag: switch to passing msghdrAl Viro1-1/+1
2014-12-09raw.c: stick msghdr into raw_frag_vecAl Viro1-4/+4
2014-11-10ipv4: Avoid reading user iov twice after raw_probe_proto_optHerbert Xu1-8/+54
2014-11-10ipv4: Use standard iovec primitive in raw_probe_proto_optHerbert Xu1-39/+11
2014-11-05net: Add and use skb_copy_datagram_msg() helper.David S. Miller1-1/+1
2014-07-23ipv4: Make IP_MULTICAST_ALL and IP_MSFILTER work on raw socketsQuentin Armitage1-1/+4
2014-07-15net-timestamp: SOCK_RAW and PING timestampingWillem de Bruijn1-0/+4
2014-06-02inetpeer: get rid of ip_id_countEric Dumazet1-1/+1
2014-02-19ipv6: honor IPV6_PKTINFO with v4 mapped addresses on sendmsgHannes Frederic Sowa1-1/+1
2014-01-18net: add build-time checks for msg->msg_name sizeSteffen Hurrle1-2/+2
2013-12-06net: Remove FLOWI_FLAG_CAN_SLEEPSteffen Klassert1-1/+1
2013-11-23inet: fix addr_len/msg->msg_namelen assignment in recv_error and rxpmtu funct...Hannes Frederic Sowa1-1/+1
2013-11-18inet: prevent leakage of uninitialized memory to user in recv syscallsHannes Frederic Sowa1-3/+1
2013-10-08net: ipv4 only populate IP_PKTINFO when neededShawn Bohrer1-1/+1
2013-10-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2013-09-28ipv4: processing ancillary IP_TOS or IP_TTLFrancesco Fusco1-1/+3
2013-09-24net: raw: do not report ICMP redirects to user spaceDuan Jiong1-1/+3
2013-09-19ip: generate unique IP identificator if local fragmentation is allowedAnsis Atteka1-1/+1
2013-09-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2013-08-29ipv4: sendto/hdrincl: don't use destination address found in headerChris Clark1-1/+2
2013-08-15net: proc_fs: trivial: print UIDs as unsigned intFrancesco Fusco1-1/+1
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-6/+2
2013-02-18net: proc: change proc_net_remove to remove_proc_entryGao feng1-1/+1
2013-02-18net: proc: change proc_net_fops_create to proc_createGao feng1-1/+1
2013-01-21ipv4: Add a socket release callback for datagram socketsSteffen Klassert1-0/+1
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-1/+3
2012-09-22ipv4: raw: fix icmp_filter()Eric Dumazet1-6/+8
2012-08-14userns: Print out socket uids in a user namespace aware fashion.Eric W. Biederman1-1/+3
2012-07-11ipv4: Add redirect support to all protocol icmp error handlers.David S. Miller1-0/+2
2012-06-14ipv4: Handle PMTU in all ICMP error handlers.David S. Miller1-0/+3
2012-04-15ipv4: fix checkpatch errorsDaniel Baluta1-1/+1
2012-03-11net: Convert printks to pr_<level>Joe Perches1-5/+2
2012-02-08ipv4: Implement IP_UNICAST_IF socket option.Erich E. Hoover1-1/+2
2011-11-18ipv4: Remove all uses of LL_ALLOCATED_SPACEHerbert Xu1-2/+5
2011-11-09ipv4: PKTINFO doesnt need dst referenceEric Dumazet1-1/+2
2011-10-31net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modulesPaul Gortmaker1-0/+1
2011-08-07ipv4: route non-local sources for raw socketJulian Anastasov1-1/+2
2011-07-26atomic: use <linux/atomic.h>Arun Sharma1-1/+1
2011-07-01ipv4: Reduce switch/case indentJoe Perches1-18/+18
2011-05-24net: convert %p usage to %pKDan Rosenberg1-1/+1
2011-05-08ipv4: Pass flow key down into ip_append_*().David S. Miller1-1/+1
2011-05-08ipv4: Pass flow keys down into datagram packet building engine.David S. Miller1-30/+29
2011-04-28inet: add RCU protection to inet->optEric Dumazet1-4/+15
2011-04-22inet: constify ip headers and in6_addrEric Dumazet1-5/+5
2011-04-11Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-1/+1
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-03-31ipv4: Use flowi4_init_output() in raw_sendmsg()David S. Miller1-11/+7
2011-03-28ipv4: Don't ip_rt_put() an error pointer in RAW sockets.David S. Miller1-0/+1
2011-03-12net: Put fl4_* macros to struct flowi4 and use them again.David S. Miller1-2/+2
2011-03-12ipv4: Use flowi4 in public route lookup interfaces.David S. Miller1-15/+17
2011-03-12net: Make flowi ports AF dependent.David S. Miller1-2/+2
2011-03-12net: Put flowi_* prefix on AF independent members of struct flowiDavid S. Miller1-5/+5
2011-03-02ipv4: Make output route lookup return rtable directly.David S. Miller1-3/+5
2011-03-01ipv4: Kill can_sleep arg to ip_route_output_flow()David S. Miller1-1/+1
2011-03-01net: Add FLOWI_FLAG_CAN_SLEEP.David S. Miller1-1/+2
2011-03-01ipv4: Make final arg to ip_route_output_flow to be boolean "can_sleep"David S. Miller1-1/+1
2011-01-30net: Add compat ioctl support for the ipv4 multicast ioctl SIOCGETSGCNTEric W. Biederman1-0/+19
2010-11-17net: use the macros defined for the members of flowiChangli Gao1-4/+3
2010-08-19net: simplify flags for tx timestampingOliver Hartkopp1-1/+1
2010-06-10net-next: remove useless union keywordChangli Gao1-8/+8
2010-06-07raw: avoid two atomics in xmitEric Dumazet1-3/+5
2010-05-10Merge branch 'master' of /repos/git/net-next-2.6Patrick McHardy1-1/+1
2010-04-28net: ip_queue_rcv_skb() helperEric Dumazet1-1/+1
2010-04-20Merge branch 'master' of /repos/git/net-next-2.6Patrick McHardy1-1/+0
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-1/+0
2010-03-25netfilter: ipv4: use NFPROTO values for NF_HOOK invocationJan Engelhardt1-2/+2
2009-10-29Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-7/+17
2009-10-29AF_RAW: Augment raw_send_hdrinc to expand skb to fit iphdr->ihl (v2)Neil Horman1-7/+17
2009-10-18inet: rename some inet_sock fieldsEric Dumazet1-15/+15
2009-10-14net: sk_drops consolidationEric Dumazet1-1/+0
2009-10-12net: Generalize socket rx gap / receive queue overflow cmsgNeil Horman1-1/+1
2009-09-30net: Make setsockopt() optlen be unsigned.David S. Miller1-3/+3
2009-09-02ip: Report qdisc packet dropsEric Dumazet1-2/+7
2009-06-18net: correct off-by-one write allocations reportsEric Dumazet1-3/+4
2009-06-03net: skb->dst accessorsEric Dumazet1-1/+1
2009-02-15ip: support for TX timestamps on UDP and RAW socketsPatrick Ohly1-0/+1
2008-11-24net: avoid a pair of dst_hold()/dst_release() in ip_append_data()Eric Dumazet1-1/+1
2008-11-03net: clean up net/ipv4/ipip.c raw.c tcp.c tcp_minisocks.c tcp_yeah.c xfrm4_po...Jianjun Kong1-4/+4
2008-07-16mib: add net to IP_INC_STATSPavel Emelyanov1-1/+1
2008-07-14icmp: add struct net argument to icmp_out_countPavel Emelyanov1-1/+2
2008-06-17udp: sk_drops handlingEric Dumazet1-1/+1
2008-06-16Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-1/+1
2008-06-16raw: Restore /proc/net/raw correct behaviorEric Dumazet1-1/+1
2008-06-14net: change proto destroy method to return voidBrian Haley1-2/+1
2008-06-11net: remove CVS keywordsAdrian Bunk1-2/+0
2008-06-04raw: Raw socket leak.Denis V. Lunev1-0/+9