Re: [PATCH 1/1] ipv6: RTA_PREFSRC support for ipv6 route sourceaddress selection

From: David Miller
Date: Tue Apr 12 2011 - 18:17:39 EST

From: David Miller <davem@xxxxxxxxxxxxx>
Date: Tue, 12 Apr 2011 15:05:11 -0700 (PDT)

> From: Daniel Walter <dwalter@xxxxxxxxxxxxx>
> Date: Mon, 11 Apr 2011 09:03:29 +0200
>> ï[ipv6] Add support for RTA_PREFSRC
>> This patch allows a user to select the preferred source address
>> for a specific IPv6-Route. It can be set via a netlink message
>> setting RTA_PREFSRC to a valid IPv6 address which must be
>> up on the device the route will be bound to.
>> Signed-off-by: Daniel Walter <dwalter@xxxxxxxxxxxxx>
> Ok, I can live with this, applied, thanks!

Sorry, I had to revert.

Please fix this warning, test your patch, and resubmit it.

net/ipv6/ip6_output.c: In function âip6_dst_lookup_tailâ:
net/ipv6/ip6_output.c:936: warning: passing argument 3 of âip6_route_get_saddrâ from incompatible pointer type
include/net/ip6_route.h:87: note: expected âstruct in6_addr *â but argument is of type âstruct dst_entry **â

N‹§²æìr¸›yúèšØb²X¬¶ÇvØ^–)Þ{.nÇ+‰·¥Š{±‘êçzX§¶›¡Ü}©ž²ÆzÚ&j:+v‰¨¾«‘êçzZ+€Ê+zf£¢·hšˆ§~†­†Ûiÿûàz¹®w¥¢¸?™¨è­Ú&¢)ßf”ù^jÇy§m…á@A«a¶Úÿ 0¶ìh®å’i