* [PATCH] add SCTP to xfrm_flowi_{sport,dport}()
@ 2004-08-24 14:04 YOSHIFUJI Hideaki / 吉藤英明
2004-08-24 18:48 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2004-08-24 14:04 UTC (permalink / raw)
To: davem; +Cc: netdev, usagi-core
Hello.
(I'm not sure if ipsec is fully supported for sctp, but anyway,)
I should not have made regression here.
Thanks.
--yoshfuji
===== include/net/xfrm.h 1.66 vs edited =====
--- 1.66/include/net/xfrm.h 2004-08-22 14:00:07 +09:00
+++ edited/include/net/xfrm.h 2004-08-24 22:55:30 +09:00
@@ -428,6 +428,7 @@
switch(fl->proto) {
case IPPROTO_TCP:
case IPPROTO_UDP:
+ case IPPROTO_SCTP:
port = fl->fl_ip_sport;
break;
case IPPROTO_ICMP:
@@ -447,6 +448,7 @@
switch(fl->proto) {
case IPPROTO_TCP:
case IPPROTO_UDP:
+ case IPPROTO_SCTP:
port = fl->fl_ip_dport;
break;
case IPPROTO_ICMP:
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] add SCTP to xfrm_flowi_{sport,dport}()
2004-08-24 14:04 [PATCH] add SCTP to xfrm_flowi_{sport,dport}() YOSHIFUJI Hideaki / 吉藤英明
@ 2004-08-24 18:48 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-08-24 18:48 UTC (permalink / raw)
To: yoshfuji; +Cc: netdev, usagi-core
On Tue, 24 Aug 2004 23:04:09 +0900 (JST)
YOSHIFUJI Hideaki / ^[$B5HF#1QL@^[(B <yoshfuji@linux-ipv6.org> wrote:
> (I'm not sure if ipsec is fully supported for sctp, but anyway,)
It should work. It should have xfrm checks in sctp input path
and everything. Well, at least I cannot think of reason why it
should not work :)
> I should not have made regression here.
Patch applied, thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-24 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-24 14:04 [PATCH] add SCTP to xfrm_flowi_{sport,dport}() YOSHIFUJI Hideaki / 吉藤英明
2004-08-24 18:48 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).