OSDN Git Service

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)
commit4787dd582dbde0b7f29eb3dbe59df3da1b350925
treefaa08fb5ebd28a0654b679cc13f7dcd6d68fa95e
parent4303aa98c2b19c533f5d3713a8ced42edb9961ea
bareudp: Reverted support to enable & disable rx metadata collection

The commit fe80536acf83 ("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 394de110a733 ("net: Added pointer check for
dst->ops->neigh_lookup in dst_neigh_lookup_skb") solves this crash.

Fixes: fe80536acf83 ("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