net/packet/built-in.o:(.discard+0x0): multiple definition of __pcpu_unique_sknid_elevator
authorS.Çağlar Onur <caglar@cs.princeton.edu>
Thu, 29 Apr 2010 19:40:06 +0000 (19:40 +0000)
committerS.Çağlar Onur <caglar@cs.princeton.edu>
Thu, 29 Apr 2010 19:40:06 +0000 (19:40 +0000)
linux-2.6-525-sknid-elevator.patch

index e28a3c9..a551454 100644 (file)
@@ -98,7 +98,7 @@ index 1bd109e..5c2e9ad 100644
  
  static const struct proto_ops packet_ops_spkt;
  
-+extern DEFINE_PER_CPU(int, sknid_elevator);
++DECLARE_PER_CPU(int, sknid_elevator);
 +
 +static inline unsigned int slice_check_and_elevate(struct sk_buff *skb, struct sock *sk) {
 +       /* This mechanism is quite involved, and caused us a lot of pain