mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
skbuff: make __skb_header_pointer()'s data argument const
The function never modifies the input buffer, so 'data' argument can be marked as const. This implies one harmless cast-away. Signed-off-by: Alexander Lobakin <alobakin@pm.me> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
dac06b32c7
commit
e3305138da
1 changed files with 3 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue