]> git.baikalelectronics.ru Git - kernel.git/commit
bareudp: Reverted support to enable & disable rx metadata collection
authorMartin Varghese <martin.varghese@nokia.com>
Fri, 17 Jul 2020 02:35:12 +0000 (08:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jul 2020 01:30:47 +0000 (18:30 -0700)
commit92f6c634d13b30cd4c7b2f06a0a75a6e77354b4c
treefaa08fb5ebd28a0654b679cc13f7dcd6d68fa95e
parenta9414a981995684d248e7a0560360de8adb5e866
bareudp: Reverted support to enable & disable rx metadata collection

The commit 59fd5b229c19 ("bareudp: Added attribute to enable & disable
rx metadata collection") breaks the the original(5.7) default behavior of
bareudp module to collect RX metadadata at the receive. It was added to
avoid the crash at the kernel neighbour subsytem when packet with metadata
from bareudp is processed. But it is no more needed as the
commit 3b6c0470c08e ("net: Added pointer check for
dst->ops->neigh_lookup in dst_neigh_lookup_skb") solves this crash.

Fixes: 59fd5b229c19 ("bareudp: Added attribute to enable & disable rx metadata collection")
Signed-off-by: Martin Varghese <martin.varghese@nokia.com>
Acked-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/bareudp.rst
drivers/net/bareudp.c
include/net/bareudp.h
include/uapi/linux/if_link.h