net: ipvs: sctp: add missing verdict assignments in sctp_conn_schedule
authorDaniel Borkmann <dborkman@redhat.com>
Fri, 25 Oct 2013 09:05:04 +0000 (11:05 +0200)
committerSimon Horman <horms@verge.net.au>
Mon, 28 Oct 2013 10:00:49 +0000 (19:00 +0900)
commit6e7cd27c0f77847f1b07a81ae2ed17b937a7531a
tree79de0eab090b710d9135e4317f4ed7dad0d96193
parent6b8dbcf2c44fd7aa716560d04e9857c870bd510c
net: ipvs: sctp: add missing verdict assignments in sctp_conn_schedule

If skb_header_pointer() fails, we need to assign a verdict, that is
NF_DROP in this case, otherwise, we would leave the verdict from
conn_schedule() uninitialized when returning.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_proto_sctp.c