Skip to content
Snippets Groups Projects
Commit 7546dd97 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller
Browse files

net: convert usage of packet_type to read_mostly


Protocols that use packet_type can be __read_mostly section for better
locality. Elminate any unnecessary initializations of NULL.

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3f612132
No related branches found
No related tags found
No related merge requests found
Showing with 25 additions and 28 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment