]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'redirect_via_sock'
authorDavid S. Miller <davem@davemloft.net>
Thu, 12 Jul 2012 10:49:19 +0000 (03:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jul 2012 10:49:19 +0000 (03:49 -0700)
commitcddd270765c2128e82f43774528ac7c7bd5ed0bb
treea2ddd1e4c432d7300396814320608ee946030fc1
parent684db463d69540b13cd6c0918a768d03efff6ed5
parent6f510da052dc5b739bb65f435100035073c76444
Merge branch 'redirect_via_sock'

As described in my patch series from the other day, we need to
rearrange redirect handling so that the local initiators of packets
(sockets, tunnels, xfrms, etc.) that implement the protocols compute
the route and pass this down into the ipv4/ipv6 routing code.

These changes here do so by implementing a new dst_ops->redirect
method.

No more do we have this funny code that tries several different sets
of routing keys to try and figure out which route the redirect should
actually be applied to.

No more do we have the problem wherein TOS rewriting causes problems
for us.

Signed-off-by: David S. Miller <davem@davemloft.net>