Skip to content
Commit 9fc95f50 authored by Miaohe Lin's avatar Miaohe Lin Committed by David S. Miller
Browse files

net: Pass NULL to skb_network_protocol() when we don't care about vlan depth



When we don't care about vlan depth, we could pass NULL instead of the
address of a unused local variable to skb_network_protocol() as a param.

Signed-off-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 83a33b24
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment