| To: | davem@xxxxxxxxxx |
|---|---|
| Subject: | [PATCH] IPv6 Extension Headers with UDP |
| From: | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> |
| Date: | Fri, 16 Apr 2004 19:36:15 +0900 (JST) |
| Cc: | netdev@xxxxxxxxxxx, takamiya@xxxxxxxxxxxxx, usagi-core@xxxxxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx |
| Organization: | USAGI Project |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hello.
D: Fix SEGV when sending UDPv6 with extension headers using ancillary data.
(fix is based on patch from <takamiya@xxxxxxxxxxxxx>)
Thanks.
--yoshfuji
===== net/ipv6/udp.c 1.60 vs edited =====
--- 1.60/net/ipv6/udp.c Wed Feb 25 17:17:45 2004
+++ edited/net/ipv6/udp.c Fri Apr 16 19:23:38 2004
@@ -913,6 +913,7 @@
if (msg->msg_controllen) {
opt = &opt_space;
memset(opt, 0, sizeof(struct ipv6_txoptions));
+ opt->tot_len = sizeof(*opt);
err = datagram_send_ctl(msg, fl, opt, &hlimit);
if (err < 0) {
--
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: r8169 excessive PHY reset, Francois Romieu |
|---|---|
| Next by Date: | [PATCH] Mixed PCI/ISA device name conflicts, Stephen Hemminger |
| Previous by Thread: | r8169 excessive PHY reset, Andy Lutomirski |
| Next by Thread: | [PATCH] Mixed PCI/ISA device name conflicts, Stephen Hemminger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |