]> git.karo-electronics.de Git - linux-beck.git/commitdiff
bridge: spelling fixes
authortanxiaojun <tanxiaojun@huawei.com>
Mon, 16 Dec 2013 13:32:46 +0000 (21:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2013 22:53:22 +0000 (17:53 -0500)
Fix spelling errors in bridge driver.

Signed-off-by: Tan Xiaojun <tanxiaojun@huawei.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_forward.c
net/bridge/br_if.c
net/bridge/br_vlan.c

index 4b81b147178987f6ea29ee6efba261cd738102b9..96866aaf3f7147b25f38ebec46877e4dc4c14fbc 100644 (file)
@@ -26,7 +26,7 @@ static int deliver_clone(const struct net_bridge_port *prev,
                         void (*__packet_hook)(const struct net_bridge_port *p,
                                               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,
                                 const struct sk_buff *skb)
 {
index 4bf02adb5dc2433709ce06d6f4b4fdc48e171dd0..1f6bd1e2e8a4dc51aa2dcf56743fb4e3c0248321 100644 (file)
@@ -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)
 {
        struct net_device *dev = p->dev;
index af5ebd18d7059f2d0cc289e226c544f210309dc2..7ffc801467ec0a7f36b1ebd31a92ff1c6cf1cac0 100644 (file)
@@ -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
         * 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);
        if (test_bit(vid, pv->untagged_bitmap))