]> 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)
commit63b0ca9bb3e6a2cb80c4558470a3617d65228b67
treea2ddd1e4c432d7300396814320608ee946030fc1
parent6475c397109204741f2a9ee98b34f8661b3f680a
parent26162192f8f0f083a2774dca291e60a11a1150e4
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>