<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/core/fib_rules.c, branch linux-2.6.33.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-12-03T20:22:55Z</updated>
<entry>
<title>net: Allow fib_rule_unregister to batch</title>
<updated>2009-12-03T20:22:55Z</updated>
<author>
<name>Eric W. Biederman</name>
</author>
<published>2009-12-03T20:22:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e9c5158ac26affd5d8ce006521bdfb7148090e18'/>
<id>urn:sha1:e9c5158ac26affd5d8ce006521bdfb7148090e18</id>
<content type='text'>
Refactor the code so fib_rules_register always takes a template instead
of the actual fib_rules_ops structure that will be used.  This is
required for network namespace support so 2 out of the 3 callers already
do this, it allows the error handling to be made common, and it allows
fib_rules_unregister to free the template for hte caller.

Modify fib_rules_unregister to use call_rcu instead of syncrhonize_rcu
to allw multiple namespaces to be cleaned up in the same rcu grace
period.

Signed-off-by: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net 04/05: fib_rules: allow to delete local rule</title>
<updated>2009-12-03T20:14:37Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2009-12-03T01:25:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5adef1809147a9c39119ffd5a13a1ca4fe23a411'/>
<id>urn:sha1:5adef1809147a9c39119ffd5a13a1ca4fe23a411</id>
<content type='text'>
commit d124356ce314fff22a047ea334379d5105b2d834
Author: Patrick McHardy &lt;kaber@trash.net&gt;
Date:   Thu Dec 3 12:16:35 2009 +0100

    net: fib_rules: allow to delete local rule

    Allow to delete the local rule and recreate it with a higher priority. This
    can be used to force packets with a local destination out on the wire instead
    of routing them to loopback. Additionally this patch allows to recreate rules
    with a priority of 0.

    Combined with the previous patch to allow oif classification, a socket can
    be bound to the desired interface and packets routed to the wire like this:

    # move local rule to lower priority
    ip rule add pref 1000 lookup local
    ip rule del pref 0

    # route packets of sockets bound to eth0 to the wire independant
    # of the destination address
    ip rule add pref 100 oif eth0 lookup 100
    ip route add default dev eth0 table 100

    Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net 03/05: fib_rules: add oif classification</title>
<updated>2009-12-03T20:14:36Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2009-12-03T01:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b038a5e60c7812f19818e8a5df96d029e49c38f'/>
<id>urn:sha1:1b038a5e60c7812f19818e8a5df96d029e49c38f</id>
<content type='text'>
commit 68144d350f4f6c348659c825cde6a82b34c27a91
Author: Patrick McHardy &lt;kaber@trash.net&gt;
Date:   Thu Dec 3 12:05:25 2009 +0100

    net: fib_rules: add oif classification

    Support routing table lookup based on the flow's oif. This is useful to
    classify packets originating from sockets bound to interfaces differently.

    The route cache already includes the oif and needs no changes.

    Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net 02/05: fib_rules: rename ifindex/ifname/FRA_IFNAME to iifindex/iifname/FRA_IIFNAME</title>
<updated>2009-12-03T20:14:36Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2009-12-03T01:25:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=491deb24bf5bf7124141287aaf02c3219783ceab'/>
<id>urn:sha1:491deb24bf5bf7124141287aaf02c3219783ceab</id>
<content type='text'>
commit 229e77eec406ad68662f18e49fda8b5d366768c5
Author: Patrick McHardy &lt;kaber@trash.net&gt;
Date:   Thu Dec 3 12:05:23 2009 +0100

    net: fib_rules: rename ifindex/ifname/FRA_IFNAME to iifindex/iifname/FRA_IIFNAME

    The next patch will add oif classification, rename interface related members
    and attributes to reflect that they're used for iif classification.

    Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: Remove unused parameter from fill method in fib_rules_ops.</title>
<updated>2009-05-21T00:26:23Z</updated>
<author>
<name>Rami Rosen</name>
</author>
<published>2009-05-21T00:26:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04af8cf6f320031090ab6fa4600b912b0c18fb4b'/>
<id>urn:sha1:04af8cf6f320031090ab6fa4600b912b0c18fb4b</id>
<content type='text'>
The netlink message header (struct nlmsghdr) is an unused parameter in
fill method of fib_rules_ops struct.  This patch removes this
parameter from this method and fixes the places where this method is
called.

(include/net/fib_rules.h)

Signed-off-by: Rami Rosen &lt;ramirose@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv4: remove an unused parameter from configure method of fib_rules_ops.</title>
<updated>2009-05-17T18:59:45Z</updated>
<author>
<name>Rami Rosen</name>
</author>
<published>2009-05-11T05:52:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b3521eeb7598c3b10c7e14361a7974464527702'/>
<id>urn:sha1:8b3521eeb7598c3b10c7e14361a7974464527702</id>
<content type='text'>
Signed-off-by: Rami Rosen &lt;ramirose@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netlink: change nlmsg_notify() return value logic</title>
<updated>2009-02-25T07:18:28Z</updated>
<author>
<name>Pablo Neira Ayuso</name>
</author>
<published>2009-02-25T07:18:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ce85fe402137824246bad03ff85f3913d565c17'/>
<id>urn:sha1:1ce85fe402137824246bad03ff85f3913d565c17</id>
<content type='text'>
This patch changes the return value of nlmsg_notify() as follows:

If NETLINK_BROADCAST_ERROR is set by any of the listeners and
an error in the delivery happened, return the broadcast error;
else if there are no listeners apart from the socket that
requested a change with the echo flag, return the result of the
unicast notification. Thus, with this patch, the unicast
notification is handled in the same way of a broadcast listener
that has set the NETLINK_BROADCAST_ERROR socket flag.

This patch is useful in case that the caller of nlmsg_notify()
wants to know the result of the delivery of a netlink notification
(including the broadcast delivery) and take any action in case
that the delivery failed. For example, ctnetlink can drop packets
if the event delivery failed to provide reliable logging and
state-synchronization at the cost of dropping packets.

This patch also modifies the rtnetlink code to ignore the return
value of rtnl_notify() in all callers. The function rtnl_notify()
(before this patch) returned the error of the unicast notification
which makes rtnl_set_sk_err() reports errors to all listeners. This
is not of any help since the origin of the change (the socket that
requested the echoing) notices the ENOBUFS error if the notification
fails and should resync itself.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
Acked-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: fib_rules ordering fixes.</title>
<updated>2008-11-08T06:52:34Z</updated>
<author>
<name>Eric W. Biederman</name>
</author>
<published>2008-11-08T06:52:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5d6d480908300a0c0b3be8b58567dfcef62c83a5'/>
<id>urn:sha1:5d6d480908300a0c0b3be8b58567dfcef62c83a5</id>
<content type='text'>
We need to setup the network namespace state before we register
the notifier.  Otherwise if a network device is already registered
we get a nasty NULL pointer dereference.

Signed-off-by: Eric W. Biederman &lt;ebiederm@maxwell.aristanetworks.com&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>2008-07-06T06:08:07Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2008-07-06T06:08:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea2aca084ba82aaf7c148d04914ceed8758ce08a'/>
<id>urn:sha1:ea2aca084ba82aaf7c148d04914ceed8758ce08a</id>
<content type='text'>
Conflicts:

	Documentation/feature-removal-schedule.txt
	drivers/net/wan/hdlc_fr.c
	drivers/net/wireless/iwlwifi/iwl-4965.c
	drivers/net/wireless/iwlwifi/iwl3945-base.c
</content>
</entry>
<entry>
<title>net: add fib_rules_ops to flush_cache method</title>
<updated>2008-07-06T02:01:28Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-07-06T02:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae299fc051aa68ca6ef1807c37bb92d9b6ff817c'/>
<id>urn:sha1:ae299fc051aa68ca6ef1807c37bb92d9b6ff817c</id>
<content type='text'>
This is required to pass namespace context into rt_cache_flush called from
-&gt;flush_cache.

Signed-off-by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
