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

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

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