| To: | davem@xxxxxxxxxx |
|---|---|
| Subject: | [PATCH] add SCTP to xfrm_flowi_{sport,dport}() |
| From: | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> |
| Date: | Tue, 24 Aug 2004 23:04:09 +0900 (JST) |
| Cc: | netdev@xxxxxxxxxxx, usagi-core@xxxxxxxxxxxxxx |
| Organization: | USAGI Project |
| Sender: | netdev-bounce@xxxxxxxxxxx |
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@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] allow setting mtu and txqlen via RTM_SETLINK and provide txqlen via RTM_GETLINK, Thomas Graf |
|---|---|
| Next by Date: | Re: [PATCH] allow setting mtu and txqlen via RTM_SETLINK and provide txqlen via RTM_GETLINK, Thomas Graf |
| Previous by Thread: | RFC: pskb_expand_head instead of skb_copy in skb_checksum_help, Herbert Xu |
| Next by Thread: | Re: [PATCH] add SCTP to xfrm_flowi_{sport,dport}(), David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |