summaryrefslogtreecommitdiff
path: root/rnd.c
AgeCommit message (Expand)AuthorFilesLines
2013-08-11rnd: Fix compiler warningTobias Klauser1-1/+1
2013-08-11rnd: Change parameter type in randombytes_{weak,strong}Tobias Klauser1-2/+2
2013-06-04rnd: add gen_key_bytes to generate key from good entropy sourceDaniel Borkmann1-7/+30
2013-06-04rnd: move entropy source definition to rndDaniel Borkmann1-5/+1
2013-06-04rnd: break out prng from xutilsDaniel Borkmann1-0/+49
c4b4fcccc6e3'>636c2628086e40c86dac7ddc84a1c4b4fcccc6e3 (diff)
net: skbuff: Coding: Use eth_type_vlan() instead of open coding it
Fix 'skb_vlan_pop' to use eth_type_vlan instead of directly comparing skb->protocol to ETH_P_8021Q or ETH_P_8021AD. Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com> Reviewed-by: Pravin B Shelar <pshelar@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat
-rw-r--r--net/core/skbuff.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c