]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'udp_tunnel_sk'
authorDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2015 19:29:30 +0000 (15:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2015 19:29:30 +0000 (15:29 -0400)
commit3300119591a0a364d0e95d2ffef18b0b7f2f52ac
tree8cfacda45a2b3d12a3831511199a13d33f245890
parenta71f971ba1be629ba47e6a674a6d5443147c64ad
parentef5acd1470988da8866ad942a7fc68ea5c8d6e5c
Merge branch 'udp_tunnel_sk'

Prevent UDP tunnels from operating on garbage socket

So this should do the rest of the work such that when we encapsulate
into a UDP tunnel, the output path works on the UDP tunnel's socket
rather than skb->sk.

Part of this work is based upon changes done by Jiri Pirko some time
ago.

Basically the first step is to pass the socket through the nf_hook
okfn(), and then next we do the same for the UDP tunnel xmit routines.

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