You are an expert at summarizing long articles. Proceed to summarize the following text: 
us defense secretary robert gates tuesday affirmed a us right to act in self - defense against extremists in pakistan but said it was essential that the new civilian government in islamabad be `` a willing partner .
gates says us needs willing partner in pakistan