sctp: Guard IPV6 specific code properly.
authorDavid S. Miller <davem@davemloft.net>
Mon, 6 Jun 2011 20:05:55 +0000 (13:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jun 2011 20:05:55 +0000 (13:05 -0700)
commit5d0c90cf4d417ccafcd1af4ec32945c3f80e98e2
treea20778871b29a651aef304131389fe964886aa57
parente3cc055c18ab575291acf0af7622a2e97c4728fa
sctp: Guard IPV6 specific code properly.

Outside of net/sctp/ipv6.c, IPV6 specific code needs to
be ifdef guarded.

This fixes build failures with IPV6 disabled.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c