Re: [PATCH v2 net 1/2] net: Allow modules to use is_skb_forwardable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On 03/26/2014 07:14 PM, Vlad Yasevich wrote:

Signed-off-by: Vlad Yasevich <vyasevic@xxxxxxxxxx>
[...]

diff --git a/net/core/dev.c b/net/core/dev.c
index b1b0c8d..a98f7fa 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1645,7 +1645,7 @@ static inline void net_timestamp_set(struct sk_buff *skb)
  			__net_timestamp(SKB);		\
  	}						\

-static inline bool is_skb_forwardable(struct net_device *dev,
+bool is_skb_forwardable(struct net_device *dev,
  				      struct sk_buff *skb)

   Please re-indent the above line, so that it still starts under *struct*.

  {
  	unsigned int len;

WBR, Sergei





[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux