ipv6: fix warning in net/ipv6/ip6_flowlabel.c
authorIngo Molnar <mingo@elte.hu>
Wed, 26 Nov 2008 00:50:30 +0000 (16:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 00:50:30 +0000 (16:50 -0800)
commit55205d400efe3260e29ad26dd64c992cec2efafd
tree753b7a7a12ed1dba60399f6b6f7793873ed68788
parentdc0a0011cfa8ff01b86859006f4db3656c9a896b
ipv6: fix warning in net/ipv6/ip6_flowlabel.c

this warning:

  net/ipv6/ip6_flowlabel.c: In function ‘ipv6_flowlabel_opt’:
  net/ipv6/ip6_flowlabel.c:467: warning: ‘err’ may be used uninitialized in this function

triggers because GCC does not recognize the (correct) error flow
between fl_create() and 'err'.

Annotate it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_flowlabel.c