aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/datagram.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-11ipv6: annotate data-races around np->ucast_oifEric Dumazet1-1/+1
2023-12-11ipv6: annotate data-races around np->mcast_oifEric Dumazet1-2/+2
2023-09-15ipv6: lockless IPV6_FLOWINFO_SEND implementationEric Dumazet1-3/+4
2023-09-15ipv6: lockless IPV6_RECVERR implemetationEric Dumazet1-4/+2
2023-09-15ipv6: lockless IPV6_RECVERR_RFC4884 implementationEric Dumazet1-1/+1
2023-08-16inet: introduce inet->inet_flagsEric Dumazet1-1/+1
2023-07-14ipv6: Constify the sk parameter of several helper functions.Guillaume Nault1-3/+4
2023-02-09ipv6: Fix datagram socket connection with DSCP.Guillaume Nault1-1/+1
2022-12-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-5/+10
2022-12-12net: setsockopt: fix IPV6_UNICAST_IF option for connected socketsRichard Gobert1-5/+10
2022-11-08net: Change the udp encap_err_rcv to allow use of {ip,ipv6}_icmp_error()David Howells1-0/+1
2022-10-24net: remove useless parameter of __sock_cmsg_sendxu xin1-1/+1
2022-10-18udp: Update reuse->has_conns under reuseport_lock.Kuniyuki Iwashima1-1/+1
2022-05-16net: annotate races around sk->sk_bound_dev_ifEric Dumazet1-3/+3
2022-04-22ipv6: Remove __ipv6_only_sock().Kuniyuki Iwashima1-2/+2
2020-11-23lsm,selinux: pass flowi_common instead of flowi to the LSM hooksPaul Moore1-1/+1
2020-07-24icmp6: support rfc 4884Willem de Bruijn1-0/+16
2019-12-04net: ipv6: add net argument to ip6_dst_lookup_flowSabrina Dubroca1-1/+1
2019-09-16udp: correct reuseport selection with connected socketsWillem de Bruijn1-0/+2
2019-07-11ipv6: fix potential crash in ip6_datagram_dst_update()Eric Dumazet1-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-01-10ipv6: fix kernel-infoleak in ipv6_local_error()Eric Dumazet1-0/+1
2019-01-10ip: on queued skb use skb_header_pointer instead of pskb_may_pullWillem de Bruijn1-6/+4
2018-11-07net: ensure unbound datagram socket to be chosen when not in a VRFMike Manning1-3/+7
2018-08-01net: add helpers checking if socket can be bound to nonlocal addressVincent Bernat1-2/+1
2018-07-29net/ipv6: allow any source address for sendmsg pktinfo with ip_nonlocal_bindVincent Bernat1-1/+2
2018-07-24Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+5
2018-07-24ip: in cmsg IP(V6)_ORIGDSTADDR call pskb_may_pullWillem de Bruijn1-2/+5
2018-07-07ipv6: fold sockcm_cookie into ipcm6_cookieWillem de Bruijn1-2/+2
2018-06-08udp: fix rx queue len reported by diag and proc interfacePaolo Abeni1-3/+3
2018-04-04ipv6: add a wrapper for ip6_dst_store() with flowi6 checksAlexey Kodanev1-8/+1
2018-03-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-7/+14
2018-03-20ipv6: old_dport should be a __be16 in __ip6_datagram_connect()Stefano Brivio1-1/+1
2018-03-16net/ipv6: Change address check to always take a device argumentDavid Ahern1-2/+3
2018-03-12net: ipv6: keep sk status consistent after datagram connect failurePaolo Abeni1-7/+14
2018-01-08net: ipv6: Allow connect to linklocal address from socket bound to vrfDavid Ahern1-2/+1
2017-07-01net: convert sock.sk_refcnt from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-06-25net: ipv6: reset daddr and dport in sk if connect() failsWei Wang1-1/+7
2017-04-17net-timestamp: avoid use-after-free in ip_recv_errorWillem de Bruijn1-9/+1
2017-02-14ipv6: Handle IPv4-mapped src to in6addr_any dst.Jonathan T. Leighton1-5/+9
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-23inet: fix IP(V6)_RECVORIGDSTADDR for udp socketsWillem de Bruijn1-1/+1
2016-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2016-11-30l2tp: lock socket before checking flags in connect()Guillaume Nault1-1/+3
2016-11-04net: inet: Support UID-based routing in IP protocols.Lorenzo Colitti1-0/+1
2016-11-03ipv6: add IPV6_RECVFRAGSIZE cmsgWillem de Bruijn1-0/+5
2016-05-16sock: propagate __sock_cmsg_send() errorEric Dumazet1-2/+3
2016-05-03ipv6: add new struct ipcm6_cookieWei Wang1-7/+6
2016-04-25net: better drop monitoring in ip{6}_recv_error()Eric Dumazet1-5/+5
2016-04-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-63/+106
2016-04-14ipv6: udp: Do a route lookup and update during release_cbMartin KaFai Lau1-0/+20
2016-04-14ipv6: datagram: Update dst cache of a connected datagram sk during pmtu updateMartin KaFai Lau1-9/+11
2016-04-14ipv6: datagram: Refactor dst lookup and update codes to a new functionMartin KaFai Lau1-46/+57
2016-04-14ipv6: datagram: Refactor flowi6 init codes to a new functionMartin KaFai Lau1-20/+30
2016-04-04ipv6: process socket-level control messages in IPv6Soheil Hassas Yeganeh1-1/+8
2016-01-29ipv6/udp: use sticky pktinfo egress ifindex on connect()Paolo Abeni1-0/+3
2015-12-02ipv6: add complete rcu protection around np->optEric Dumazet1-1/+3
2015-09-25ipv6: constify ip6_xmit() sock argumentEric Dumazet1-1/+1
2015-07-29net: Set sk_txhash from a random numberTom Herbert1-1/+1
2015-07-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+15
2015-07-15ipv6: lock socket in ip6_datagram_connect()Eric Dumazet1-5/+15
2015-07-09ipv6: use flag instead of u16 for hop in inet6_skb_parmFlorian Westphal1-4/+4
2015-06-24ip: report the original address of ICMP messagesJulian Anastasov1-1/+11
2015-03-31ipv6: coding style: comparison for equality with NULLIan Morris1-3/+3
2015-03-08ip: fix error queue empty skb handlingWillem de Bruijn1-11/+28
2015-02-02net-timestamp: no-payload optionWillem de Bruijn1-3/+2
2015-01-15ip: zero sockaddr returned on error queueWillem de Bruijn1-7/+3
2014-12-10net: introduce helper macro for_each_cmsghdrGu Zheng1-1/+1
2014-12-08net-timestamp: allow reading recv cmsg on errqueue with origin tstampWillem de Bruijn1-2/+19
2014-11-11net: Convert LIMIT_NETDEBUG to net_dbg_ratelimitedJoe Perches1-2/+2
2014-11-05net: Add and use skb_copy_datagram_msg() helper.David S. Miller1-2/+2
2014-09-01sock: deduplicate errqueue dequeueWillem de Bruijn1-13/+2
2014-08-24ipv6: White-space cleansing : Line LayoutsIan Morris1-4/+4
2014-07-07net: Save TX flow hash in sock and set in skbuf on xmitTom Herbert1-0/+1
2014-01-22ipv6: enable anycast addresses as source addresses for datagramsFX Le Bail1-1/+3
2014-01-21ipv6: protect protocols not handling ipv4 from v4 connection/bind attemptsHannes Frederic Sowa1-0/+10
2014-01-19ipv6: make IPV6_RECVPKTINFO work for ipv4 datagramsHannes Frederic Sowa1-8/+30
2014-01-18net: add build-time checks for msg->msg_name sizeSteffen Hurrle1-4/+2
2013-12-19Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-1/+1
2013-12-10ipv6: do not erase dst address with flow label destinationFlorent Fourcot1-1/+0
2013-12-06net: Remove FLOWI_FLAG_CAN_SLEEPSteffen Klassert1-1/+1
2013-11-23ipv6: fix leaking uninitialized port number of offender sockaddrHannes Frederic Sowa1-0/+1
2013-11-23inet: fix addr_len/msg->msg_namelen assignment in recv_error and rxpmtu funct...Hannes Frederic Sowa1-2/+5
2013-10-09ipv6: make lookups simpler and fasterEric Dumazet1-13/+12
2013-08-15net: proc_fs: trivial: print UIDs as unsigned intFrancesco Fusco1-1/+1
2013-06-04net: ipv6: Unify {raw,udp}6_sock_seq_show.Lorenzo Colitti1-0/+27
2013-03-08ipv6: report sin6_scope_id if sockopt RECVORIGDSTADDR is setHannes Frederic Sowa1-1/+3
2013-03-08ipv6: use newly introduced __ipv6_addr_needs_scope_id and ipv6_iface_scope_idHannes Frederic Sowa1-7/+9
2013-02-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-7/+9
2013-01-31ipv6: export ip6_datagram_recv_ctlTom Parkin1-0/+1
2013-01-31ipv6: rename datagram_send_ctl and datagram_recv_ctlTom Parkin1-7/+8
2013-01-13ipv6: Use ipv6_get_dsfield() instead of ipv6_tclass().YOSHIFUJI Hideaki / 吉藤英明1-1/+2
2013-01-13ipv6: Introduce ip6_flowinfo() to extract flowinfo (tclass + flowlabel).YOSHIFUJI Hideaki / 吉藤英明1-4/+5
2013-01-09ipv6: Use container_of macro instead of magic number to get ipv6 header.YOSHIFUJI Hideaki / 吉藤英明1-5/+4
2012-11-18net: Allow userns root to control ipv6Eric W. Biederman1-3/+3
2012-11-01ipv6: use IS_ENABLED()Amerigo Wang1-1/+1
2012-05-19ipv6: bool/const conversions phase2Eric Dumazet1-2/+2
2012-05-01ipv6: Export ipv6 functions for use by other protocolsChris Elston1-0/+4
2012-04-15net: cleanup unsigned to unsigned intEric Dumazet1-1/+1
2012-04-02net/ipv6/datagram.c: Checkpatch cleanupsEldad Zack1-6/+4
2012-02-13ipv6: helper function to get tclassJiri Benc1-1/+1
2012-01-17net: fix some sparse errorsEric Dumazet1-1/+1
2011-11-22net: remove ipv6_addr_copy()Alexey Dobriyan1-17/+17
2011-11-08net: make ipv6 PKTINFO honour freebindMaciej Żenczykowski1-1/+1
2011-10-18ipv6: Remove superfluous NULL pointer check in ipv6_local_rxpmtuSteffen Klassert1-4/+0
2011-08-30net: relax PKTINFO non local ipv6 udp xmit checkMaciej Żenczykowski1-2/+3
2011-08-05ipv6: check for IPv4 mapped addresses when connecting IPv6 socketsMax Matveev1-2/+9
2011-03-12net: Put fl6_* macros to struct flowi6 and use them again.David S. Miller1-3/+3
2011-03-12ipv6: Convert to use flowi6 where applicable.David S. Miller1-37/+38
2011-03-12net: Make flowi ports AF dependent.David S. Miller1-3/+3
2011-03-12net: Put flowi_* prefix on AF independent members of struct flowiDavid S. Miller1-10/+10
2011-03-01ipv6: Consolidate route lookup sequences.David S. Miller1-11/+4
2010-10-21tproxy: added tproxy sockopt interface in the IPV6 layerBalazs Scheidler1-0/+19
2010-09-08udp: add rehash on connect()Eric Dumazet1-1/+6
2010-06-02ipv6: Refactor update of IPv6 flowi destination address for srcrt (RH) optionArnaud Ebalard1-14/+4
2010-05-12Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-2/+6
2010-05-05IPv6: fix IPV6_RECVERR handling of locally-generated errorsBrian Haley1-2/+6
2010-04-23IPv6: Complete IPV6_DONTFRAG supportBrian Haley1-0/+87
2010-04-23IPv6: Add dontfrag argument to relevant functionsBrian Haley1-1/+20
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2009-11-02ipv6: no more dev_put() in datagram_send_ctl()Eric Dumazet1-5/+9
2009-10-18inet: rename some inet_sock fieldsEric Dumazet1-7/+8
2009-10-07IPv6: use ipv6_addr_set_v4mapped()Brian Haley1-14/+10
2009-10-07Use sk_mark for IPv6 routing lookupsBrian Haley1-0/+1
2008-11-25netns xfrm: lookup in netnsAlexey Dobriyan1-1/+2
2008-11-12ipv6: routing header fixesBrian Haley1-0/+5
2008-07-29IPv6: datagram_send_ctl() should exit immediately when an error occuredMiao Xie1-1/+1
2008-06-13Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-0/+5
2008-06-11net: remove CVS keywordsAdrian Bunk1-2/+0
2008-06-12ipv6: Check the hop limit setting in ancillary data.Shan Wei1-0/+5
2008-06-05[IPV6] NETNS: Handle ancillary data in appropriate namespace.YOSHIFUJI Hideaki1-3/+4
2008-06-05[IPV6]: Check outgoing interface even if source address is unspecified.YOSHIFUJI Hideaki1-20/+22
2008-01-28[NETNS][IPV6]: inet6_addr - check ipv6 address per namespaceDaniel Lezcano1-1/+2
2008-01-28[IPSEC]: Make callers of xfrm_lookup to use XFRM_LOOKUP_WAITHerbert Xu1-1/+1
2008-01-08[IPV6]: IPV6_MULTICAST_IF setting is ignored on link-local connect()Brian Haley1-3/+3
2007-10-10[NET]: Make the device list and device lookups per namespace.Eric W. Biederman1-1/+1
2007-07-10[IPV6]: Do not send RH0 anymore.YOSHIFUJI Hideaki1-2/+1
2007-07-10[IPV6] MIP6: Loadable module support for MIPv6.Masahide NAKAMURA1-1/+1
2007-05-24[XFRM]: Allow packet drops during larval state resolution.David S. Miller1-2/+6
2007-04-25[NET]: cleanup extra semicolonsStephen Hemminger1-1/+1
2007-04-25[SK_BUFF]: Convert skb->tail to sk_buff_data_tArnaldo Carvalho de Melo1-1/+1
2007-04-25[SK_BUFF]: More skb_reset_transport_header conversionsArnaldo Carvalho de Melo1-2/+2
2007-04-25[ICMP6]: Introduce icmp6_hdr()Arnaldo Carvalho de Melo1-1/+1
2007-04-25[SK_BUFF]: Introduce ipv6_hdr(), remove skb->nh.ipv6hArnaldo Carvalho de Melo1-8/+8
2007-04-25[SK_BUFF]: Introduce ip_hdr(), remove skb->nh.iphArnaldo Carvalho de Melo1-2/+1
2007-04-25[SK_BUFF]: Introduce skb_network_header()Arnaldo Carvalho de Melo1-13/+18
2007-04-25[SK_BUFF] ipv6: More skb_reset_network_header conversions related to skb_pullArnaldo Carvalho de Melo1-2/+3
2007-02-14[PATCH] remove many unneeded #includes of sched.hTim Schmielau1-1/+0
2007-02-10[NET] IPV6: Fix whitespace errors.YOSHIFUJI Hideaki1-26/+26
2007-02-08[IPV4/IPV6]: Always wait for IPSEC SA resolution in socket contexts.David S. Miller1-1/+1
2006-12-02[IPV6]: Misc endianness annotations.Al Viro1-3/+3
2006-12-02[IPV6]: flowlabels are net-endianAl Viro1-5/+5
2006-09-22[IPV6] MIP6: Add socket option and ancillary data interface of routing header...Masahide NAKAMURA1-4/+7
2006-09-22[IPV6]: Cache source address as well in ipv6_pinfo{}.YOSHIFUJI Hideaki1-1/+6
2006-09-22[MLSXFRM]: Add flow labelingVenkat Yekkirala1-0/+2
2006-09-17[IPV6]: Accept -1 for IPV6_TCLASSRemi Denis-Courmont1-1/+1
2006-01-11[PATCH] capable/capability.h (net/)Randy Dunlap1-0/+1
2005-11-20[IPV6]: Fix calculation of AH length during filling ancillary data.Ville Nuorvala1-1/+1
2005-09-08[XFRM]: Always release dst_entry on error in xfrm_lookupPatrick McHardy1-3/+1
2005-09-08[IPV6]: Support IPV6_{RECV,}TCLASS socket options / ancillary data.YOSHIFUJI Hideaki1-1/+24
2005-09-08[IPV6]: Support several new sockopt / ancillary data in Advanced API (RFC3542).YOSHIFUJI Hideaki1-8/+102
2005-08-29[NET]: Make NETDEBUG pure printk wrappersPatrick McHardy1-2/+2
2005-08-29[TCP]: Move the tcp sock states to net/tcp_states.hArnaldo Carvalho de Melo1-0/+1
2005-06-18[IPV4/IPV6]: Replace spin_lock_irq with spin_lock_bhHerbert Xu1-3/+3
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+600