summaryrefslogtreecommitdiff
path: root/net/bridge/netfilter/ebt_ip.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-02-07 15:07:43 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2007-02-08 12:39:14 -0800
commita8d0f9526ff8510d6fa5e708ef5386af19503299 (patch)
treebb88ab76ac8364ee257dc3aeeabbb8c3148d633f /net/bridge/netfilter/ebt_ip.c
parent5eb87f456ebdc983164f0913b53c199ca9673887 (diff)
[NET]: Add UDPLITE support in a few missing spots
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/netfilter/ebt_ip.c')
-rw-r--r--net/bridge/netfilter/ebt_ip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/netfilter/ebt_ip.c b/net/bridge/netfilter/ebt_ip.c
index e4c642448e1b..6afa4d017d4a 100644
--- a/net/bridge/netfilter/ebt_ip.c
+++ b/net/bridge/netfilter/ebt_ip.c
@@ -93,6 +93,7 @@ static int ebt_ip_check(const char *tablename, unsigned int hookmask,
return -EINVAL;
if (info->protocol != IPPROTO_TCP &&
info->protocol != IPPROTO_UDP &&
+ info->protocol != IPPROTO_UDPLITE &&
info->protocol != IPPROTO_SCTP &&
info->protocol != IPPROTO_DCCP)
return -EINVAL;