summaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_policy.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2005-12-19 14:03:46 -0800
committerDavid S. Miller <davem@davemloft.net>2005-12-19 14:03:46 -0800
commit9e999993c71e1506378d26d81f842277aff8a250 (patch)
tree29f17b34f01f83928b23ada0da3f8ea9e0e1b027 /net/ipv4/xfrm4_policy.c
parent3dd4bc68fac5df16b6d3ed6ed3c29cf05f29a47e (diff)
downloadblackbird-op-linux-9e999993c71e1506378d26d81f842277aff8a250.tar.gz
blackbird-op-linux-9e999993c71e1506378d26d81f842277aff8a250.zip
[XFRM]: Handle DCCP in xfrm{4,6}_decode_session
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_policy.c')
-rw-r--r--net/ipv4/xfrm4_policy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/xfrm4_policy.c b/net/ipv4/xfrm4_policy.c
index b2b60f3e9cdd..42196ba3b0b9 100644
--- a/net/ipv4/xfrm4_policy.c
+++ b/net/ipv4/xfrm4_policy.c
@@ -182,6 +182,7 @@ _decode_session4(struct sk_buff *skb, struct flowi *fl)
case IPPROTO_UDP:
case IPPROTO_TCP:
case IPPROTO_SCTP:
+ case IPPROTO_DCCP:
if (pskb_may_pull(skb, xprth + 4 - skb->data)) {
u16 *ports = (u16 *)xprth;
OpenPOWER on IntegriCloud