aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_input.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 14:38:13 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 14:38:13 -0500
commitcb18eccff48ef3986d1072964590bce6fec705fb (patch)
tree777fb1d15e0281341e1e02c9803d989538d346f2 /net/bridge/br_input.c
parentc827ba4cb49a30ce581201fd0ba2be77cde412c7 (diff)
parent5ef213f6842277ee1df5659f59fac0ffc9beb411 (diff)
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (45 commits) [IPV4]: Restore multipath routing after rt_next changes. [XFRM] IPV6: Fix outbound RO transformation which is broken by IPsec tunnel patch. [NET]: Reorder fields of struct dst_entry [DECNET]: Convert decnet route to use the new dst_entry 'next' pointer [IPV6]: Convert ipv6 route to use the new dst_entry 'next' pointer [IPV4]: Convert ipv4 route to use the new dst_entry 'next' pointer [NET]: Introduce union in struct dst_entry to hold 'next' pointer [DECNET]: fix misannotation of linkinfo_dn [DECNET]: FRA_{DST,SRC} are le16 for decnet [UDP]: UDP can use sk_hash to speedup lookups [NET]: Fix whitespace errors. [NET] XFRM: Fix whitespace errors. [NET] X25: Fix whitespace errors. [NET] WANROUTER: Fix whitespace errors. [NET] UNIX: Fix whitespace errors. [NET] TIPC: Fix whitespace errors. [NET] SUNRPC: Fix whitespace errors. [NET] SCTP: Fix whitespace errors. [NET] SCHED: Fix whitespace errors. [NET] RXRPC: Fix whitespace errors. ...
Diffstat (limited to 'net/bridge/br_input.c')
-rw-r--r--net/bridge/br_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c
index bfa4d8c333f7..35b94f9a1ac5 100644
--- a/net/bridge/br_input.c
+++ b/net/bridge/br_input.c
@@ -119,7 +119,7 @@ static inline int is_link_local(const unsigned char *dest)
119 * Called via br_handle_frame_hook. 119 * Called via br_handle_frame_hook.
120 * Return 0 if *pskb should be processed furthur 120 * Return 0 if *pskb should be processed furthur
121 * 1 if *pskb is handled 121 * 1 if *pskb is handled
122 * note: already called with rcu_read_lock (preempt_disabled) 122 * note: already called with rcu_read_lock (preempt_disabled)
123 */ 123 */
124int br_handle_frame(struct net_bridge_port *p, struct sk_buff **pskb) 124int br_handle_frame(struct net_bridge_port *p, struct sk_buff **pskb)
125{ 125{
@@ -137,7 +137,7 @@ int br_handle_frame(struct net_bridge_port *p, struct sk_buff **pskb)
137 137
138 if (p->state == BR_STATE_FORWARDING || p->state == BR_STATE_LEARNING) { 138 if (p->state == BR_STATE_FORWARDING || p->state == BR_STATE_LEARNING) {
139 if (br_should_route_hook) { 139 if (br_should_route_hook) {
140 if (br_should_route_hook(pskb)) 140 if (br_should_route_hook(pskb))
141 return 0; 141 return 0;
142 skb = *pskb; 142 skb = *pskb;
143 dest = eth_hdr(skb)->h_dest; 143 dest = eth_hdr(skb)->h_dest;