mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
net: use the macros defined for the members of flowi
Use the macros defined for the members of flowi to clean the code up. Signed-off-by: Changli Gao <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
dd68ad2235
commit
5811662b15
32 changed files with 171 additions and 316 deletions
|
|
@ -502,7 +502,8 @@ static int clip_setentry(struct atm_vcc *vcc, __be32 ip)
|
|||
struct atmarp_entry *entry;
|
||||
int error;
|
||||
struct clip_vcc *clip_vcc;
|
||||
struct flowi fl = { .nl_u = { .ip4_u = { .daddr = ip, .tos = 1}} };
|
||||
struct flowi fl = { .fl4_dst = ip,
|
||||
.fl4_tos = 1 };
|
||||
struct rtable *rt;
|
||||
|
||||
if (vcc->push != clip_push) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue