<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/net, branch v2.6.21.2</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/net?h=v2.6.21.2</id>
<link rel='self' href='https://git.amat.us/linux/atom/net?h=v2.6.21.2'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2007-05-23T21:32:54Z</updated>
<entry>
<title>[PATCH] NETFILTER: {ip,nf}_conntrack: fix use-after-free in helper destroy callback invocation</title>
<updated>2007-05-23T21:32:54Z</updated>
<author>
<name>Patrick McHardy</name>
<email>kaber@trash.net</email>
</author>
<published>2007-05-16T16:56:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c5f95710c2e70dc84ecdbca786ac83415f24dc79'/>
<id>urn:sha1:c5f95710c2e70dc84ecdbca786ac83415f24dc79</id>
<content type='text'>
When the helper module is removed for a master connection that has a
fulfilled expectation, but has already timed out and got removed from
the hash tables, nf_conntrack_helper_unregister can't find the master
connection to unset the helper, causing a use-after-free when the
expected connection is destroyed and releases the last reference to
the master.

The helper destroy callback was introduced for the PPtP helper to clean
up expectations and expected connections when the master connection
times out, but doing this from destroy_conntrack only works for
unfulfilled expectations since expected connections hold a reference
to the master, preventing its destruction. Move the destroy callback to
the timeout function, which fixes both problems.

Reported/tested by Gabor Burjan &lt;buga@buvoshetes.hu&gt;.

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] IPSEC: Check validity of direction in xfrm_policy_byid</title>
<updated>2007-05-23T21:32:51Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2007-05-15T08:36:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5cbcd44ff2faa79a67309aed70153f910fd9fd5e'/>
<id>urn:sha1:5cbcd44ff2faa79a67309aed70153f910fd9fd5e</id>
<content type='text'>
The function xfrm_policy_byid takes a dir argument but finds the policy
using the index instead.  We only use the dir argument to update the
policy count for that direction.  Since the user can supply any value
for dir, this can corrupt our policy count.

I know this is the problem because a few days ago I was deleting
policies by hand using indicies and accidentally typed in the wrong
direction.  It still deleted the policy and at the time I thought
that was cool.  In retrospect it isn't such a good idea :)

I decided against letting it delete the policy anyway just in case
we ever remove the connection between indicies and direction.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] SCTP: Prevent OOPS if hmac modules didn't load</title>
<updated>2007-05-23T21:32:51Z</updated>
<author>
<name>Vlad Yasevich</name>
<email>vladislav.yasevich@hp.com</email>
</author>
<published>2007-05-15T08:32:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ca526a57325f6ea331115069c44a58c4a85bfa9d'/>
<id>urn:sha1:ca526a57325f6ea331115069c44a58c4a85bfa9d</id>
<content type='text'>
SCTP was checking for NULL when trying to detect hmac
allocation failure where it should have been using IS_ERR.
Also, print a rate limited warning to the log telling the
user what happend.

Signed-off-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] NET_SCHED: prio qdisc boundary condition</title>
<updated>2007-05-23T21:32:51Z</updated>
<author>
<name>Jamal Hadi Salim</name>
<email>hadi@cyberus.ca</email>
</author>
<published>2007-05-15T08:23:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7b890c17f74b976f82e38b84d29724212fccb91a'/>
<id>urn:sha1:7b890c17f74b976f82e38b84d29724212fccb91a</id>
<content type='text'>
This fixes an out-of-boundary condition when the classified
band equals q-&gt;bands. Caught by Alexey

Signed-off-by: Jamal Hadi Salim &lt;hadi@cyberus.ca&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] IPV6: Reverse sense of promisc tests in ip6_mc_input</title>
<updated>2007-05-23T21:32:50Z</updated>
<author>
<name>Corey Mutter</name>
<email>crm-netdev@mutternet.com</email>
</author>
<published>2007-05-15T08:22:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5074ff3b1b62430d2b363c81a83226c74598d730'/>
<id>urn:sha1:5074ff3b1b62430d2b363c81a83226c74598d730</id>
<content type='text'>
Reverse the sense of the promiscuous-mode tests in ip6_mc_input().

Signed-off-by: Corey Mutter &lt;crm-netdev@mutternet.com&gt;
Signed-off-by: David L Stevens &lt;dlstevens@us.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] IPV6 ROUTE: Assign rt6i_idev for ip6_{prohibit,blk_hole}_entry.</title>
<updated>2007-05-23T21:32:50Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2007-05-15T07:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d3d41e810efbfb4cc837fe504636687e1c7abd10'/>
<id>urn:sha1:d3d41e810efbfb4cc837fe504636687e1c7abd10</id>
<content type='text'>
I think this is less critical, but is also suitable for -stable
release.

Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] IPV6: Do no rely on skb-&gt;dst before it is assigned.</title>
<updated>2007-05-23T21:32:50Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2007-05-15T07:04:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=08a6507044dd70c326de3ea484fd6d29b8101f17'/>
<id>urn:sha1:08a6507044dd70c326de3ea484fd6d29b8101f17</id>
<content type='text'>
Because skb-&gt;dst is assigned in ip6_route_input(), it is really
bad to use it in hop-by-hop option handler(s).

Closes: Bug #8450 (Eric Sesterhenn &lt;snakebyte@gmx.de&gt;)
Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] IPV6: Send ICMPv6 error on scope violations.</title>
<updated>2007-05-23T21:32:50Z</updated>
<author>
<name>David L Stevens</name>
<email>dlstevens@us.ibm.com</email>
</author>
<published>2007-05-15T07:02:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=131f27eac4b7b1d6d7158805c75ed7243631ef4b'/>
<id>urn:sha1:131f27eac4b7b1d6d7158805c75ed7243631ef4b</id>
<content type='text'>
When an IPv6 router is forwarding a packet with a link-local scope source
address off-link, RFC 4007 requires it to send an ICMPv6 destination
unreachable with code 2 ("not neighbor"), but Linux doesn't. Fix below.

Signed-off-by: David L Stevens &lt;dlstevens@us.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] TCP: zero out rx_opt in tcp_disconnect()</title>
<updated>2007-05-23T21:32:47Z</updated>
<author>
<name>Srinivas Aji</name>
<email>Aji_Srinivas@emc.com</email>
</author>
<published>2007-05-09T08:33:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=76359ee291685b2fe4f88ed0a763e00bee9c3dea'/>
<id>urn:sha1:76359ee291685b2fe4f88ed0a763e00bee9c3dea</id>
<content type='text'>
When the server drops its connection, NFS client reconnects using the
same socket after disconnecting. If the new connection's SYN,ACK
doesn't contain the TCP timestamp option and the old connection's did,
tp-&gt;tcp_header_len is recomputed assuming no timestamp header but
tp-&gt;rx_opt.tstamp_ok remains set. Then tcp_build_and_update_options()
adds in a timestamp option past the end of the allocated TCP header,
overwriting TCP data, or when the data is in skb_shinfo(skb)-&gt;frags[],
overwriting skb_shinfo(skb) causing a crash soon after. (The issue was
debugged from such a crash.)

Similarly, wscale_ok and sack_ok also get set based on the SYN,ACK
packet but not reset on disconnect, since they are zeroed out at
initialization. The patch zeroes out the entire tp-&gt;rx_opt struct in
tcp_disconnect() to avoid this sort of problem.

Signed-off-by: Srinivas Aji &lt;Aji_Srinivas@emc.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] SCTP: Correctly copy addresses in sctp_copy_laddrs</title>
<updated>2007-05-23T21:32:47Z</updated>
<author>
<name>Vlad Yasevich</name>
<email>vladislav.yasevich@hp.com</email>
</author>
<published>2007-05-09T20:51:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=44884f81d150fe352ca4c6d694ad11cd5acf7fea'/>
<id>urn:sha1:44884f81d150fe352ca4c6d694ad11cd5acf7fea</id>
<content type='text'>
I broke the  non-wildcard case recently.  This is to fixes it.
Now, explictitly bound addresses can ge retrieved using the API.

Signed-off-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</content>
</entry>
</feed>
