Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62804d6a authored by Tushar Behera's avatar Tushar Behera Committed by Amit Pundir
Browse files

tcp: Fix build error if IPV6 is not selected



If CONFIG_IPV6=m is selected, we are getting following build errors.

net/built-in.o: In function `tcp_is_local6':
net/ipv4/tcp.c:3261: undefined reference to `rt6_lookup'

Making the code conditional upon only CONFIG_IPV6=y fixes this issue.

Signed-off-by: default avatarTushar Behera <tushar.behera@linaro.org>
CC: John Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent 0fdc146d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment