login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
July
»
26
Re: [PATCH] SCTP: IPv4 mapped addr not returned in SCTPv6 accept()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Vlad Yasevich <vladislav.yasevich@...>
To: Dave Johnson <djohnson+linux-kernel@...>
Cc: <lksctp-developers@...>, <linux-kernel@...>, Srinivas Akkipeddi <sakkiped@...>
Subject:
Re: [PATCH] SCTP: IPv4 mapped addr not returned in SCTPv6 accept()
Date: Thursday, July 26, 2007 - 4:49 pm
Dave Johnson wrote:
quoted text
> Vlad Yasevich writes: >> Ok. First, this is a different bug, so I would prefer a separate patch. >> Also, I see the problem and it's ugly, but this solution is not really correct, >> both conceptually and code wise. >> >> Conceptually, the v4 code should never worry about V4-mapped addresses and shouldn't >> muck with them. They are IPv6 addresses and there should be a clean separation. >> >> Code wise, the code in the __sctp_connect() is terrible. >> >> Does the attached patch work for you in this case. > > yes, with the v4mapped in ipv6.c and your patch, connect and accept > both work with v4 mapped addresses. > > Note instead of: > >> + af = sctp_get_af_specific(sa_addr->sa.sa_family); >> + af->to_sk_daddr(sa_addr, sk); > > you should have: > >> + af = sctp_get_af_specific(sa_addr->sa_family); >> + af->to_sk_daddr((union sctp_addr *)sa_addr, sk); > >
Feel free to clean it up and submit both patches. -vlad -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] SCTP: IPv4 mapped addr not returned in SCTPv6 accept()
, Dave Johnson
, (Wed Jul 25, 7:49 pm)
Re: [PATCH] SCTP: IPv4 mapped addr not returned in SCTPv6 ac...
, Vlad Yasevich
, (Thu Jul 26, 1:55 pm)
Re: [PATCH] SCTP: IPv4 mapped addr not returned in SCTPv6 ac...
, Dave Johnson
, (Thu Jul 26, 3:00 pm)
Re: [PATCH] SCTP: IPv4 mapped addr not returned in SCTPv6 ac...
, Vlad Yasevich
, (Thu Jul 26, 3:42 pm)
Re: [PATCH] SCTP: IPv4 mapped addr not returned in SCTPv6 ac...
, Dave Johnson
, (Mon Aug 6, 4:48 pm)
Re: [PATCH] SCTP: IPv4 mapped addr not returned in SCTPv6 ac...
, Vlad Yasevich
, (Mon Aug 6, 4:55 pm)
Re: [PATCH] SCTP: IPv4 mapped addr not returned in SCTPv6 ac...
, Dave Johnson
, (Thu Jul 26, 4:44 pm)
Re: [PATCH] SCTP: IPv4 mapped addr not returned in SCTPv6 ac...
, Vlad Yasevich
, (Thu Jul 26, 4:49 pm)
Re: [PATCH] SCTP: IPv4 mapped addr not returned in SCTPv6 ac...
, David Miller
, (Mon Jul 30, 8:23 pm)
Re: [PATCH] SCTP: IPv4 mapped addr not returned in SCTPv6 ac...
, Vlad Yasevich
, (Tue Jul 31, 9:53 am)
[PATCH] SCTP: fix IPv4 addr in SCTPv6 accept()/getpeername()
, Dave Johnson
, (Mon Aug 6, 4:48 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Jeff Garzik
Re: fallocate-implementation-on-i86-x86_64-and-powerpc.patch
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Arjan van de Ven
Re: [GIT]: Networking
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
670 guests
online.
Syndicate