]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit848db6789c4025730a061b89c86f86b0e9637ba7
tree8d92396a3ef6cb763103c15e6b5079dc760ebe1b
parentf049492562ec53d89871b3292625e2660600100b
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