]> err.no Git - linux-2.6/commit
[UDP]: Cleanup UDP encapsulation code
authorJames Chapman <jchapman@katalix.com>
Fri, 6 Jul 2007 00:08:05 +0000 (17:08 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:16:53 +0000 (22:16 -0700)
commit067b207b281db5e3f03f8d244286c20f61aa2343
treea947ba1fdc03ca82fdb2c7d6f8334b995c1c5ab2
parent93cce3d3657bfb5d04789afcd5104f8c48700f32
[UDP]: Cleanup UDP encapsulation code

This cleanup fell out after adding L2TP support where a new encap_rcv
funcptr was added to struct udp_sock. Have XFRM use the new encap_rcv
funcptr, which allows us to move the XFRM encap code from udp.c into
xfrm4_input.c.

Make xfrm4_rcv_encap() static since it is no longer called externally.

Signed-off-by: James Chapman <jchapman@katalix.com>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
net/ipv4/udp.c
net/ipv4/xfrm4_input.c