<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/sched/act_api.c, branch linux-3.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-06-26T19:15:38Z</updated>
<entry>
<title>net: Use netlink_ns_capable to verify the permisions of netlink messages</title>
<updated>2014-06-26T19:15:38Z</updated>
<author>
<name>Eric W. Biederman</name>
</author>
<published>2014-04-23T21:29:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be0ef855baab7248d0fc71cdf78a47fcfd3708f1'/>
<id>urn:sha1:be0ef855baab7248d0fc71cdf78a47fcfd3708f1</id>
<content type='text'>
[ Upstream commit 90f62cf30a78721641e08737bda787552428061e ]

It is possible by passing a netlink socket to a more privileged
executable and then to fool that executable into writing to the socket
data that happens to be valid netlink message to do something that
privileged executable did not intend to do.

To keep this from happening replace bare capable and ns_capable calls
with netlink_capable, netlink_net_calls and netlink_ns_capable calls.
Which act the same as the previous calls except they verify that the
opener of the socket had the desired permissions as well.

Reported-by: Andy Lutomirski &lt;luto@amacapital.net&gt;
Signed-off-by: "Eric W. Biederman" &lt;ebiederm@xmission.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>net_sched: act: export tcf_hash_search() instead of tcf_hash_lookup()</title>
<updated>2014-01-21T22:43:16Z</updated>
<author>
<name>WANG Cong</name>
</author>
<published>2014-01-17T19:37:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e6a50c254220acb19bd338ce433b1770e4a7a3c'/>
<id>urn:sha1:6e6a50c254220acb19bd338ce433b1770e4a7a3c</id>
<content type='text'>
So that we will not expose struct tcf_common to modules.

Cc: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Cong Wang &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net_sched: act: fetch hinfo from a-&gt;ops-&gt;hinfo</title>
<updated>2014-01-21T22:43:16Z</updated>
<author>
<name>WANG Cong</name>
</author>
<published>2014-01-17T19:37:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c779f7af99f73abb7270dcaa4c29178ab5ef7472'/>
<id>urn:sha1:c779f7af99f73abb7270dcaa4c29178ab5ef7472</id>
<content type='text'>
Every action ops has a pointer to hash info, so we don't need to
hard-code it in each module.

Cc: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Cong Wang &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net_sched: act: remove struct tcf_act_hdr</title>
<updated>2014-01-13T19:50:15Z</updated>
<author>
<name>WANG Cong</name>
</author>
<published>2014-01-10T00:14:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7eb8896df03d0f4a8b301cb177d7f31c0d70e112'/>
<id>urn:sha1:7eb8896df03d0f4a8b301cb177d7f31c0d70e112</id>
<content type='text'>
It is not necessary at all.

Cc: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Cong Wang &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net_sched: act: clean up notification functions</title>
<updated>2014-01-13T19:50:14Z</updated>
<author>
<name>WANG Cong</name>
</author>
<published>2014-01-10T00:14:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a56e19538d02ade9ee6ae82da4a216d7a632e8d5'/>
<id>urn:sha1:a56e19538d02ade9ee6ae82da4a216d7a632e8d5</id>
<content type='text'>
Refactor tcf_add_notify() and factor out tcf_del_notify().

Cc: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Cong Wang &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net_sched: act: move idx_gen into struct tcf_hashinfo</title>
<updated>2014-01-13T19:50:14Z</updated>
<author>
<name>WANG Cong</name>
</author>
<published>2014-01-10T00:13:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ddafd34f419546f1eb7c343178685f059c3cf127'/>
<id>urn:sha1:ddafd34f419546f1eb7c343178685f059c3cf127</id>
<content type='text'>
There is no need to store the index separatedly
since tcf_hashinfo is allocated statically too.

Cc: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Cong Wang &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net_sched: act: action flushing missaccounting</title>
<updated>2014-01-06T21:46:56Z</updated>
<author>
<name>Jamal Hadi Salim</name>
</author>
<published>2013-12-23T13:02:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=805c1f4aedaba1bc8d839e7c27b128083dd5c2f0'/>
<id>urn:sha1:805c1f4aedaba1bc8d839e7c27b128083dd5c2f0</id>
<content type='text'>
action flushing missaccounting
Account only for deleted actions

Signed-off-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net_sched: Remove unnecessary checks for act-&gt;ops</title>
<updated>2014-01-06T21:46:32Z</updated>
<author>
<name>Jamal Hadi Salim</name>
</author>
<published>2013-12-23T13:02:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63acd6807c50bfb6a526713c640076ae2226c12a'/>
<id>urn:sha1:63acd6807c50bfb6a526713c640076ae2226c12a</id>
<content type='text'>
Remove unnecessary checks for act-&gt;ops
(suggested by Eric Dumazet).

Signed-off-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sched action: make local function static</title>
<updated>2014-01-02T08:30:36Z</updated>
<author>
<name>stephen hemminger</name>
</author>
<published>2013-12-31T19:54:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c75f4029cf494ae810a54e34ede9803cff60c7c'/>
<id>urn:sha1:9c75f4029cf494ae810a54e34ede9803cff60c7c</id>
<content type='text'>
No need to export functions only used in one file.

Signed-off-by: Stephen Hemminger &lt;stephen@networkplumber.org&gt;
Acked-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net_sched: fix regression in tc_action_ops</title>
<updated>2013-12-20T22:06:27Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2013-12-20T20:32:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a792866ad2dafb8f272e4fdfb98a93fdbfff2277'/>
<id>urn:sha1:a792866ad2dafb8f272e4fdfb98a93fdbfff2277</id>
<content type='text'>
list_for_each_entry(a, &amp;act_base, head) doesn't
exit with a = NULL if we reached the end of the list.

tcf_unregister_action(), tc_lookup_action_n() and tc_lookup_action()
need fixes.

Remove tc_lookup_action_id() as its unused and not worth 'fixing'

Signed-off-by: Eric Dumazet &lt;edumazet@google.com&gt;
Fixes: 1f747c26c48b ("net_sched: convert tc_action_ops to use struct list_head")
Cc: Cong Wang &lt;xiyou.wangcong@gmail.com&gt;
Reviewed-by: Cong Wang &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
