]> asedeno.scripts.mit.edu Git - linux.git/commit
fou: Fix IPv6 netlink policy
authorKristian Evensen <kristian.evensen@gmail.com>
Thu, 23 Jan 2020 12:20:18 +0000 (13:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jan 2020 13:32:52 +0000 (14:32 +0100)
commitbb48eb9b12a95db9d679025927269d4adda6dbd1
tree33356cae4a7f655568fd91c5acc78a03063c6ca2
parent5169adbc982400f214bc0bcad1fcc076bd342987
fou: Fix IPv6 netlink policy

When submitting v2 of "fou: Support binding FoU socket" (1713cb37bf67),
I accidentally sent the wrong version of the patch and one fix was
missing. In the initial version of the patch, as well as the version 2
that I submitted, I incorrectly used ".type" for the two V6-attributes.
The correct is to use ".len".

Reported-by: Dmitry Vyukov <dvyukov@google.com>
Fixes: 1713cb37bf67 ("fou: Support binding FoU socket")
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fou.c