Commit 1a81a2e0 authored by tanxiaojun's avatar tanxiaojun Committed by David S. Miller
Browse files

bridge: spelling fixes



Fix spelling errors in bridge driver.
Signed-off-by: default avatarTan Xiaojun <tanxiaojun@huawei.com>
Acked-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 93b36cf3
...@@ -26,7 +26,7 @@ static int deliver_clone(const struct net_bridge_port *prev, ...@@ -26,7 +26,7 @@ static int deliver_clone(const struct net_bridge_port *prev,
void (*__packet_hook)(const struct net_bridge_port *p, void (*__packet_hook)(const struct net_bridge_port *p,
struct sk_buff *skb)); struct sk_buff *skb));
/* Don't forward packets to originating port or forwarding diasabled */ /* Don't forward packets to originating port or forwarding disabled */
static inline int should_deliver(const struct net_bridge_port *p, static inline int should_deliver(const struct net_bridge_port *p,
const struct sk_buff *skb) const struct sk_buff *skb)
{ {
......
...@@ -61,7 +61,7 @@ static int port_cost(struct net_device *dev) ...@@ -61,7 +61,7 @@ static int port_cost(struct net_device *dev)
} }
/* Check for port carrier transistions. */ /* Check for port carrier transitions. */
void br_port_carrier_check(struct net_bridge_port *p) void br_port_carrier_check(struct net_bridge_port *p)
{ {
struct net_device *dev = p->dev; struct net_device *dev = p->dev;
......
...@@ -146,7 +146,7 @@ struct sk_buff *br_handle_vlan(struct net_bridge *br, ...@@ -146,7 +146,7 @@ struct sk_buff *br_handle_vlan(struct net_bridge *br,
/* At this point, we know that the frame was filtered and contains /* At this point, we know that the frame was filtered and contains
* a valid vlan id. If the vlan id is set in the untagged bitmap, * a valid vlan id. If the vlan id is set in the untagged bitmap,
* send untagged; otherwise, send taged. * send untagged; otherwise, send tagged.
*/ */
br_vlan_get_tag(skb, &vid); br_vlan_get_tag(skb, &vid);
if (test_bit(vid, pv->untagged_bitmap)) if (test_bit(vid, pv->untagged_bitmap))
......
Supports Markdown
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