]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
fddi: 64 bit bug in smt_add_para()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 1 Sep 2012 09:57:40 +0000 (09:57 +0000)
committerDavid S. Miller <davem@tempietto.lan>
Sun, 2 Sep 2012 02:44:13 +0000 (22:44 -0400)
commite1b2aa7f3051e268973b6126fdca602ac4af6bc4
treea87b24cc2bc7bc4e709bb20b37bc92cd4bf7cc6f
parentb27393aecf66199f5ddad37c302d3e0cfadbe6c0
fddi: 64 bit bug in smt_add_para()

The intent was to set 4 bytes of data so that's why the sp_len is set
to 4 on the next line.  The cast to u_long pointer clears 8 bytes
on 64 bit arches.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@tempietto.lan>
drivers/net/fddi/skfp/pmf.c