]> 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)
commit3b6d26bbf9824c9a54e7ddcc5fbbbea6851a8c5c
tree8cfacda45a2b3d12a3831511199a13d33f245890
parentaa2b7cd07e61684f5e4d73283f421dc01ca29cd4
parent3dbfebe86f72ad05fc6ca3dc5e569baeafd33479
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>