projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79952bc
)
net: validate_xmit_vlan() is static
author
Eric Dumazet
<edumazet@google.com>
Mon, 6 Oct 2014 18:26:27 +0000
(11:26 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 6 Oct 2014 22:17:17 +0000
(18:17 -0400)
Marking this as static allows compiler to inline it.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index c1a4de275576190b111fc7a39b37e187ff072c65..a63b8c43c1b6bf0249165dcec562031cdbac880d 100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-2645,7
+2645,8
@@
out:
return skb;
}
-struct sk_buff *validate_xmit_vlan(struct sk_buff *skb, netdev_features_t features)
+static struct sk_buff *validate_xmit_vlan(struct sk_buff *skb,
+ netdev_features_t features)
{
if (vlan_tx_tag_present(skb) &&
!vlan_hw_offload_capable(features, skb->vlan_proto)) {