diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2014-02-06 18:34:12 +0100 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-02-26 10:22:51 +0100 |
commit | 7b694760856cc5059b550724d3030e53c7cfd2d2 (patch) | |
tree | da9aec64ee62ac075c6a4f3935562e12375ccca9 /net/ipv4/tcp_output.c | |
parent | 7d9c1b6b1e2730813b4d8692e5a51785fbd378db (diff) |
netpoll: fix netconsole IPv6 setup
[ Upstream commit 00fe11b3c67dc670fe6391d22f1fe64e7c99a8ec ]
Currently, to make netconsole start over IPv6, the source address
needs to be specified. Without a source address, netpoll_parse_options
assumes we're setting up over IPv4 and the destination IPv6 address is
rejected.
Check if the IP version has been forced by a source address before
checking for a version mismatch when parsing the destination address.
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions