summaryrefslogtreecommitdiff
path: root/include/drm/drm_panel.h
diff options
context:
space:
mode:
authorMenglong Dong <imagedong@tencent.com>2022-04-07 09:20:51 +0300
committerDavid S. Miller <davem@davemloft.net>2022-04-11 12:38:37 +0300
commit41a95a00ebeffd4d735977d8c602d77fb6b3eed2 (patch)
treee7dc48ddd845d294657ec77c96f45bfae654de56 /include/drm/drm_panel.h
parent9f8ed577c28813410614b418bad42285840c1a00 (diff)
downloadlinux-41a95a00ebeffd4d735977d8c602d77fb6b3eed2.tar.xz
net: icmp: introduce __ping_queue_rcv_skb() to report drop reasons
In order to avoid to change the return value of ping_queue_rcv_skb(), introduce the function __ping_queue_rcv_skb(), which is able to report the reasons of skb drop as its return value, as Paolo suggested. Meanwhile, make ping_queue_rcv_skb() a simple call to __ping_queue_rcv_skb(). The kfree_skb() and sock_queue_rcv_skb() used in ping_queue_rcv_skb() are replaced with kfree_skb_reason() and sock_queue_rcv_skb_reason() now. Reviewed-by: Hao Peng <flyingpeng@tencent.com> Reviewed-by: Jiang Biao <benbjiang@tencent.com> Signed-off-by: Menglong Dong <imagedong@tencent.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/drm/drm_panel.h')
0 files changed, 0 insertions, 0 deletions