]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dccp: do not use ipv6 header for ipv4 flow
authorEric Dumazet <edumazet@google.com>
Tue, 19 Mar 2019 12:46:18 +0000 (05:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Mar 2019 21:01:40 +0000 (14:01 -0700)
commite0aa67709f89d08c8d8e5bdd9e0b649df61d0090
treef949e270cbf88ff2109914f3357cb2d13bbebd9c
parent89e4130939a20304f4059ab72179da81f5347528
dccp: do not use ipv6 header for ipv4 flow

When a dual stack dccp listener accepts an ipv4 flow,
it should not attempt to use an ipv6 header or
inet6_iif() helper.

Fixes: 3df80d9320bc ("[DCCP]: Introduce DCCPv6")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ipv6.c