net: 6lowpan: constify lowpan_nhc structures
authorAlexander Aring <aahringo@redhat.com>
Thu, 28 Apr 2022 03:05:34 +0000 (23:05 -0400)
committerStefan Schmidt <stefan@datenfreihafen.org>
Thu, 9 Jun 2022 19:53:28 +0000 (21:53 +0200)
commitf3de6f4eccddfcaf3f8b3674ab57a0646b572650
tree8d92396a3ef6cb763103c15e6b5079dc760ebe1b
parent31264f9563e6c2b2f895582e0632881cbc197af9
net: 6lowpan: constify lowpan_nhc structures

This patch constify the lowpan_nhc declarations. Since we drop the rb
node datastructure there is no need for runtime manipulation of this
structure.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Link: https://lore.kernel.org/r/20220428030534.3220410-4-aahringo@redhat.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
net/6lowpan/nhc.c
net/6lowpan/nhc.h