netfilter: ipset: add missing break statemtns in ip_set_get_ip_port()
authorPatrick McHardy <kaber@trash.net>
Wed, 2 Feb 2011 08:31:37 +0000 (09:31 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 2 Feb 2011 08:31:37 +0000 (09:31 +0100)
commit316ed388802533bcfd3dffb38d2ba29ac5428456
tree408afd10131591f8759428d797513d5a68b3e7aa
parente3e241b2769b27669d05f0a05083acd21b4faa2c
netfilter: ipset: add missing break statemtns in ip_set_get_ip_port()

Don't fall through in the switch statement, otherwise IPv4 headers
are incorrectly parsed again as IPv6 and the return value will always
be 'false'.

Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/ipset/ip_set_getport.c