--- zzzz-none-000/linux-3.10.107/net/packet/diag.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/net/packet/diag.c 2021-02-04 17:41:59.000000000 +0000 @@ -3,6 +3,7 @@ #include #include #include +#include #include #include @@ -176,7 +177,8 @@ PACKET_DIAG_FILTER)) goto out_nlmsg_trim; - return nlmsg_end(skb, nlh); + nlmsg_end(skb, nlh); + return 0; out_nlmsg_trim: nlmsg_cancel(skb, nlh);