]> git.baikalelectronics.ru Git - kernel.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)
commitbfd09ec1d18f9dbd6e39866a42817ea277d8db21
tree33356cae4a7f655568fd91c5acc78a03063c6ca2
parent8cb1ff1eb46f8001306eb164666343e77b918b4f
fou: Fix IPv6 netlink policy

When submitting v2 of "fou: Support binding FoU socket" (b7d45d61a924),
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: b7d45d61a924 ("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