<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/sched/act_nat.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-07-18T17:38:36Z</updated>
<entry>
<title>bpf: try harder on clones when writing into skb</title>
<updated>2017-07-18T17:38:36Z</updated>
<author>
<name>Daniel Borkmann</name>
</author>
<published>2016-02-19T22:05:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d70d6222db05172d02a821ee97b5651f4091a891'/>
<id>urn:sha1:d70d6222db05172d02a821ee97b5651f4091a891</id>
<content type='text'>
commit 3697649ff29e0f647565eed04b27a7779c646a22 upstream.

When we're dealing with clones and the area is not writeable, try
harder and get a copy via pskb_expand_head(). Replace also other
occurences in tc actions with the new skb_try_make_writable().

Reported-by: Ashhad Sheikh &lt;ashhadsheikh394@gmail.com&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Acked-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
[bwh: Backported to 3.2: drop changes to bpf; only tc actions need fixing]
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>net: sched: constify tcf_proto and tc_action</title>
<updated>2011-07-06T09:52:16Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2011-07-05T23:25:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dc7f9f6e8838556f226c2ebd1da7bb305cb25654'/>
<id>urn:sha1:dc7f9f6e8838556f226c2ebd1da7bb305cb25654</id>
<content type='text'>
Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net_sched: cleanups</title>
<updated>2011-01-20T07:31:12Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2011-01-19T19:26:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc7ec456f82da7f89a5b376e613b3ac4311b3e9a'/>
<id>urn:sha1:cc7ec456f82da7f89a5b376e613b3ac4311b3e9a</id>
<content type='text'>
Cleanup net/sched code to current CodingStyle and practices.

Reduce inline abuse

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net_sched: factorize qdisc stats handling</title>
<updated>2011-01-11T00:07:54Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2011-01-09T08:30:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bfe0d0298f2a67d94d58c39ea904a999aeeb7c3c'/>
<id>urn:sha1:bfe0d0298f2a67d94d58c39ea904a999aeeb7c3c</id>
<content type='text'>
HTB takes into account skb is segmented in stats updates.
Generalize this to all schedulers.

They should use qdisc_bstats_update() helper instead of manipulating
bstats.bytes and bstats.packets

Add bstats_update() helper too for classes that use
gnet_stats_basic_packed fields.

Note : Right now, TCQ_F_CAN_BYPASS shortcurt can be taken only if no
stab is setup on qdisc.

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net sched: fix some kernel memory leaks</title>
<updated>2010-08-17T22:12:15Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2010-08-16T20:04:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c40be12f7d8ca1d387510d39787b12e512a7ce8'/>
<id>urn:sha1:1c40be12f7d8ca1d387510d39787b12e512a7ce8</id>
<content type='text'>
We leak at least 32bits of kernel memory to user land in tc dump,
because we dont init all fields (capab ?) of the dumped structure.

Use C99 initializers so that holes and non explicit fields are zeroed.

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>act_nat: fix on the TX path</title>
<updated>2010-08-05T04:53:14Z</updated>
<author>
<name>Changli Gao</name>
</author>
<published>2010-08-03T17:39:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=36d12690a2e9bcacae5a2a7e0fb6345a3caad625'/>
<id>urn:sha1:36d12690a2e9bcacae5a2a7e0fb6345a3caad625</id>
<content type='text'>
On the TX path, skb-&gt;data points to the ethernet header, not the network
header. So when validating the packet length for accessing we should
take the ethernet header into account.

Signed-off-by: Changli Gao &lt;xiaosuo@gmail.com&gt;
Acked-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2010-08-03T05:22:46Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2010-08-03T05:22:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=00dad5e479531e379aba7358600cc768725d4f1f'/>
<id>urn:sha1:00dad5e479531e379aba7358600cc768725d4f1f</id>
<content type='text'>
Conflicts:
	drivers/net/e1000e/hw.h
	net/bridge/br_device.c
	net/bridge/br_input.c
</content>
</entry>
<entry>
<title>act_nat: the checksum of ICMP doesn't have pseudo header</title>
<updated>2010-08-01T05:04:55Z</updated>
<author>
<name>Changli Gao</name>
</author>
<published>2010-07-29T14:04:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3a3dfb062c2e086c202d34f09ce29634515ad256'/>
<id>urn:sha1:3a3dfb062c2e086c202d34f09ce29634515ad256</id>
<content type='text'>
after updating the value of the ICMP payload, inet_proto_csum_replace4() should
be called with zero pseudohdr.

Signed-off-by: Changli Gao &lt;xiaosuo@gmail.com&gt;
Acked-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>act_nat: fix wild pointer</title>
<updated>2010-08-01T05:04:54Z</updated>
<author>
<name>Changli Gao</name>
</author>
<published>2010-07-29T13:41:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=072d79a31a3b870b49886f4347e23f81b7eca3ac'/>
<id>urn:sha1:072d79a31a3b870b49886f4347e23f81b7eca3ac</id>
<content type='text'>
pskb_may_pull() may change skb pointers, so adjust icmph after pskb_may_pull().

Signed-off-by: Changli Gao &lt;xiaosuo@gmail.com&gt;
Acked-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2010-07-21T01:25:24Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2010-07-21T01:25:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=11fe883936980fe242869d671092a466cf1db3e3'/>
<id>urn:sha1:11fe883936980fe242869d671092a466cf1db3e3</id>
<content type='text'>
Conflicts:
	drivers/vhost/net.c
	net/bridge/br_device.c

Fix merge conflict in drivers/vhost/net.c with guidance from
Stephen Rothwell.

Revert the effects of net-2.6 commit 573201f36fd9c7c6d5218cdcd9948cee700b277d
since net-next-2.6 has fixes that make bridge netpoll work properly thus
we don't need it disabled.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
