diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-04-15 01:58:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-15 12:44:40 -0400 |
commit | 95c961747284a6b83a5e2d81240e214b0fa3464d (patch) | |
tree | c7be86a00db3605a48a03109fafcbe31039ca2e0 /net/openvswitch | |
parent | 5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9 (diff) |
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
-rw-r--r-- | net/openvswitch/vport-netdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/vport-netdev.c b/net/openvswitch/vport-netdev.c index c1068aed03d1..5920bda4ab6b 100644 --- a/net/openvswitch/vport-netdev.c +++ b/net/openvswitch/vport-netdev.c | |||
@@ -140,9 +140,9 @@ int ovs_netdev_get_ifindex(const struct vport *vport) | |||
140 | return netdev_vport->dev->ifindex; | 140 | return netdev_vport->dev->ifindex; |
141 | } | 141 | } |
142 | 142 | ||
143 | static unsigned packet_length(const struct sk_buff *skb) | 143 | static unsigned int packet_length(const struct sk_buff *skb) |
144 | { | 144 | { |
145 | unsigned length = skb->len - ETH_HLEN; | 145 | unsigned int length = skb->len - ETH_HLEN; |
146 | 146 | ||
147 | if (skb->protocol == htons(ETH_P_8021Q)) | 147 | if (skb->protocol == htons(ETH_P_8021Q)) |
148 | length -= VLAN_HLEN; | 148 | length -= VLAN_HLEN; |