]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d1537876069e63cb38c411be32f48be380e0760
tree408afd10131591f8759428d797513d5a68b3e7aa
parent17493299f68d7f513d58acdeddae617d8db01366
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